但是,之后它们都会遇到相同的情况:它们必须检查模块列表,寻找开发人员希望作为测试运行的函数和类。
But both wind up in the same situation: with a list of modules that they must then inspect to find the functions and classes that the developer wants run as tests.
添加如列表6所示的代码到这个测试类中。
如果你从下拉框中选择一个或更多的类,只有属于已选类别的测试,将出现在列表中并在此运行。
If you select one or more categories from that dropdown, only tests that belong to selected categories will appear on the list and will be run.
如果你从下拉框中选择一个或更多的类,只有属于已选类别的测试,将出现在列表中并在此运行。
If you select one or more categories from that dropdown, only tests that belong to selected categories will appear on the list and will be run.
应用推荐