mirror of https://github.com/zulip/zulip.git
7ec5fbab2e
I believe we can remove these and rely on other parts of our testing/code-review to ensure template quality. These tests never really exercised our app code, as evidenced by us not regressing any of the 100%-line-coverage files. We have a couple other ways that we verify the correct format of the templates: - webpack (can they compile?) - check-templates (are they nicely indented?) For deep testing, we have Casper, which exercises most of our most important templates in some meaningful way. I think it's pretty rare that we get bugs now that are directly caused by bad templates, and an even smaller subset of them would have been caught by the node tests. If that trend changes in the future, I would prefer to just do something "greenfield" to address any common problems rather than resurrect this code, but we could always resurrect it from git. The template node tests did check a little bit of detail about which fields are there, but not in an integrated way, so that aspect of the tests wasn't very useful either. |
||
---|---|---|
.. | ||
__init__.py | ||
custom_check.py | ||
exclude.py | ||
pep8.py | ||
pyflakes.py |