If a test contains several Asserts, the state of the test remains Pass until an Assert is encountered that changes the state to Fail or Inconclusive.

 
  • 如果一个测试包含多条Assert语句,该测试的状态将保留为“通过”,直到遇到一条将此状态更改为“失败”或“没有结论”的Assert语句。
今日热词
目录 附录 查词历史