Exemplo n.º 1
0
 def test_instantiate_setup_py_runner(self):
     test_runner = Runner("test", "test", RunnerType.SETUP_PY)
     runner = test_runner._instantiate_runner()
     self.assertTrue(isinstance(runner, SetupPyRunner))
Exemplo n.º 2
0
 def test_instantiate_nose2_runner(self):
     test_runner = Runner("test", "test", RunnerType.NOSE2)
     runner = test_runner._instantiate_runner()
     self.assertTrue(isinstance(runner, Nose2Runner))
Exemplo n.º 3
0
 def test_instantiate_pytest_runner(self):
     test_runner = Runner("test", "test", RunnerType.PYTEST)
     runner = test_runner._instantiate_runner()
     self.assertTrue(isinstance(runner, PyTestRunner))