它有可能会违反测试的独立性,并引入非预期的混乱。
It has the potential to violate the independence of the tests and introduce unexpected coupling.
试着改变一下测试用例的顺序,以确认他们是否具有独立性。
Try changing the order of your test cases to confirm their isolation.
这些方法将帮助你确保运行一个测试用例而不会影响到另外的用例(测试用例独立性test case isolation)。
These functions help you ensure that the running of one test case doesn't affect another (test case isolation).
应用推荐