[openlp-dev] Running Tests with pytest, Restructuring Jenkins

Raoul Snyman raoul at snyman.info
Sat Dec 23 17:36:13 EST 2017


Hi everyone,

Recently a few of us have started running our tests using pytest[0]. 
pytest is a test running and a test framework. pytest's runner is much 
nicer than nose2 in it's output, and it has a few other tricks up its 
sleeve (including being able to use pdb and better PyCharm integration).

Also, we've been restructuring Jenkins as well[1], in order to provide 
more comprehensive testing (like on macOS[2]), and using pytest[3] for 
better failure reporting. Jobs on Jenkins have been renamed, and the 
jenkins_script.py script will fail if you don't update your copy of 
trunk (and merge into your branches).



[0] https://docs.pytest.org/en/latest/
[1] https://ci.openlp.io/view/Branch/
[2] https://ci.openlp.io/view/Branch/job/Branch-02b-macOS-Tests/
[3] 
https://ci.openlp.io/view/Branch/job/Branch-02a-Linux-Tests/2280/console

-- 
Raoul Snyman
+1 (520) 490-9743
raoul at snyman.info


More information about the openlp-dev mailing list