Testing Brython apps using PyTest and Selenium

2016-09-09 00:00:00 Python, Brython, Selenium, PyTest, Travis

During my vacation this year I spent some time writing a web-based latex editor. I chose Python for the serverside and Javascript on the client but soon got fed up with Javascript. I eventually stumbled upon Brython and tried to integrate it with the Angular JS library. After hitting a wall several times and spending unproductive hours trying to figure out what is wrong I decided that it might be easier to write an angular clone in Python rather than trying to shoehorn the Javascript library into working well with Brython. Thus was born the Circular library. This blog post explains how I go about testing the library.