JUnit and junit.framework.TestSuite - No runnable methods

后端 未结 4 1236
别跟我提以往
别跟我提以往 2020-12-21 00:46

I\'ve made some unit tests (in test class). The tutorial I\'ve read said that I should make a TestSuite for the unittests.

Odd is that when I\'m running the unit tes

4条回答
  •  [愿得一人]
    2020-12-21 01:45

    For sure, it won't work since you're not telling the test suite what are your test classes.

    But I'm wondering why you're not using the "classical way" for building Test suites, which is ant using jUnit's ant tasks.

提交回复
热议问题