You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a generalized version of the work to allow running the test suite with multiple adapters. It relates to removing all use of globals in test cases, by providing a dictionary of test parameters.
A test driver can set parameters with jones_test.driver.setParameter(); an individual test case, instantiated from e.g. new SmokeTest(), could retrieve them via test.getParameter().
In a single test run, it should be possible to run a test suite multiple times with different sets of parameters.
The text was updated successfully, but these errors were encountered:
A test that requires a parameter (e.g. a test that must have an adapter set) could declare this by calling a method like "usesParameter" or "withParameter":
var t1 = new jones_test.ConcurrentTest("SimpleInsert");
t1.usesParameter("adapter");
Or, fluently:
t1 = new jones_test.ConcurrentTest("SimpleInsert").withParameter("adapter");
The test driver should run non-parameterized tests once.
For parameterized tests, the driver should run them once per supplied parameter value.
A SmokeTest could register a parameter for every test in its suite:
t1 = new SmokeTest();
t1.suite.usesParameter("adapter");
This is a generalized version of the work to allow running the test suite with multiple adapters. It relates to removing all use of globals in test cases, by providing a dictionary of test parameters.
A test driver can set parameters with jones_test.driver.setParameter(); an individual test case, instantiated from e.g. new SmokeTest(), could retrieve them via test.getParameter().
In a single test run, it should be possible to run a test suite multiple times with different sets of parameters.
The text was updated successfully, but these errors were encountered: