Parametrized Unit Tests

rambius rambiusparkisanius at gmail.com
Thu Aug 27 16:38:27 CEST 2015


Hello,

петък, 21 август 2015 г., 21:43:19 UTC-4, Ben Finney написа:
> > Is there a better a way to pass the server, the user and the password
> > to the test without resolving to global variables?
> 
> The ‘testscenarios’ library is one way to have a set of scenarios
> applied at run-time to produce tests across all combinations
> <URL:https://pypi.python.org/pypi/testscenarios/>.

testscenarios worked for me. Thank you for your recommendation.

Regards
Ivan


More information about the Python-list mailing list