testing - How to run python scripts as test suites (running a set of tests together) using nose tests? -


I have almost 50 automated scripts in Python and I want to separate them as test suits - in almost every sense 5 suites. How can I get it?

How to use:

  & gt; Nosetests script1.py script2.py script3.py script4.py script5.py & gt; Nosetests script3.py script4.py script 5.py script 6.py script 7 .py & gt; ...  

If you organize your suite folders you can run all the tests in a folder in the same run. Alternatively, you can use the plugin and mark individual tests as a member of a particular lists with @attr (suit = 'suit1') Can run:

  & gt; Nosetests - One Suit = 'Suit 1'  

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -