Here is my code.
I googled and searched several pages.
http://stackoverflow.com/questions/15383387/no-runnable-methods-on-junit-with-custom-annotation-and-all-tests-filtered
It says
You get this error due to the validation performed in validateInstanceMethods
since computeTestMethods() returns an empty List:
He suggested override or remove List size validation. I couldn't agree with him. Cause I have run my test cases with no problem on other projects. I read my code and error message again.
at swift.client.SwiftConfigTest.suite(SwiftConfigTest.java:17)
I felt it weird. Because I don't need to run suite method. I removed suite method and ran all tests successfully.
Here is my right source code.
No comments:
Post a Comment