'How to execute all the test cases in telenium without calling them explicitly?
I'm trying to use Telenium to automate testing of a Kivy app. As per the instructions, the tests should be executed automatically without calling them explicitly with object reference, But in my case the tests are executed only when I call tc.test_01() (refer sample code below). Can someone tell me how to execute all the test at a strectch?
Code Sample:
class TestCase(TeleniumTestCase):
cmd_entrypoint = ["main.py"]
def test_01(self):
print("TEST 01")
def test_02(self):
print("TEST 02")
tc= TestCase()
tc.test_01()
tc.test_02()
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
