java - JUnit two variables iterating respective value sets, create test functions -
Checks the function takes two arguments, I want a test case for each element of the Cartesian product of the respective domain, But without typing all test cases manually such as
zero check (integer one, integer b) {...} @Test public zero test_1_2 () {check (1, 2); } ...
In Python I go with
class test (one-time test): DEF check (self, I, J): Asset notable for garnand in (1, 4): Xchange (1, 4): For J. in: Orange (2, 6): Def Ch (I, J): Return Lambda Self: Self. Check (I, J) Setter (Test, "Test_% r_% r"% (i, j), ch (i, j))
How do I do this with Java and Junket Can i do
I think you are searching for Paramijit Test in Genuine 4 Are there.
Comments
Post a Comment