Cadasta Test Suites and Execution Order Implementation

Manorama Perera
1 min readFeb 9, 2017

During the code reviews I had with Kate, there were requirements to implement the execution order of the Cadasta Selenium test cases and to get rid of Django dependencies. That means to make cadasta-test purely python.

Since I’ve already completed User Accounts, Projects and Organizations related UI test automation, I started finding a way to include the above requirements.

Then I learnt about the python test suites. The article[1] which demonstrates the use of test suites in python guided me well. Thus I created separate test suites for Accounts, Projects and Organizations. (More test suites are on the way for XLSForms, etc.)

Then I organized the folder hierarchy of cadasta-test repo and made the way UI tests running more professional. Now you can run the tests by;

References

[1] http://www.techbeamers.com/selenium-python-test-suite-unittest/

--

--