且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

maven没有运行集成测试方法

更新时间:2023-01-11 17:21:37

您的测试中有两个问题class:

You have two problems located in your tests class :


  1. 班级和测试方法必须公开。

  2. 你的 checkForQueryInFile 方法缺少TestNG @Test 注释。

  1. The class and the test method must be public.
  2. Your checkForQueryInFile method is missing the TestNG @Test annotation.