Re:Django, now with JavaScript tests
by epberry on Thursday July 02, 2015 @08:31PM
(#9822652)
This is great news. Currently our js tests are run as part of Django's testing framework using Splinter (Selenium wrapper) to do browser automation. Those are hacked together using some partially documented class methods on top of pyvirtualdisplay and some X server packages so they can be run on a Linux server. Writing the tests themselves is a bit of a nightmare and involves writing pure js inside of Python docstrings and then injecting them into the virtual browser and inspecting the results. So yeah, looking forward to upgrading and using this.
[ Parent
| on HN ]