Data driven tests
Closed this issue · 2 comments
VarIr commented
Might consider using ddt for testing HubnessAnalysis (and possibly others),
see https://technomilk.wordpress.com/2012/02/12/multiplying-python-unit-test-cases-with-different-sets-of-data/
f0k commented
Also have a look at py.test -- it supports this via a decorator (@parameterize
).
VarIr commented
Thanks, looks nice!
On 2016-08-23 12:06, Jan Schlüter wrote:
Also have a look at py.test -- it supports this via a decorator
(|@parameterize|
http://doc.pytest.org/en/latest/parametrize.html#parametrize-basics).—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIrtUYqxaNnngnhaxnvY3qFkgqg2J3Zdks5qisYxgaJpZM4Jqsyq.