behave-contrib / behave-html-formatter

HTML formatter for Behave
https://pypi.org/project/behave-html-formatter/
GNU General Public License v3.0
7 stars 10 forks source link

Read JavaScript and CSS from external files #1

Closed bittner closed 3 years ago

bittner commented 3 years ago
From https://github.com/schidlo/behave-html-formatter/issues/5:

The html module contains more than just Python code:

For better maintainability this code should be kept outside of the Python module and read + minified dynamically, upon module execution or when the module is packaged.

To state the obvious: This will allow to better focus on Python code in the Python module, and JavaScript and CSS in the other two files, with proper syntax highlighting and IDE editing support.