Is there an easy way to run a single test in class that inherits from a base class? Example below

If I have a base test class such as the below: 

 

class BaseTestClass:
    def test_one(self):
        assert False


class TestClass(BaseTestClass):
    def test_two(self):
        assert True

 

I can run test_two easily by right clicking on it but I can't do the same for test_one. Is there a way to do this?

I can edit the configuration but would be nice if there was a way to right click and see all available tests to run or something along those lines 

 

0

请先登录再写评论。