https://kotlinlang.org logo
#test
Title
# test
t

TwoClocks

10/28/2020, 6:07 PM
is there a way to parametrize a whole class of tests, not just a given test? I want to parameterize on the environment setup... stuff that's used in the before/after setup/teardown code.
s

spand

10/29/2020, 6:45 AM
You can also make a baseclass with the test cases and then inherit from that for all the configurations (ie. you will have a test class each cofiguration but only specify the setup in them). Useful for contract tests and such
3 Views