maven not running integration test methods

后端 未结 1 1788
北海茫月
北海茫月 2020-12-19 19:15

I am using dockerfile-maven plugin to move jar file inside my docker container and maven-failsafe-plugin to initiate my integration testing. But maven never run integration

1条回答
  •  被撕碎了的回忆
    2020-12-19 19:27

    You have two problems located in your tests class :

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

    0 讨论(0)
提交回复
热议问题