Questions tagged [junit-runner]

The JUnit runner checks, makes and launches the unit tests.

The default runner implementation guarantees that the instances of the test case class will be constructed immediately before running the test and that the runner will retain no reference to the test case instances, generally making them available for garbage collection

124 questions
-1
votes
1 answer

How to get the status of each line of a Datatable rows that is executed

Im testing a scenario where there are about 100s of username and password. I should use each username-password pair one by one and then try login to application. Then logout. Login again in the same browser without closing it. Here if any of the…
-1
votes
1 answer

Better performance to consolidate Spring configuration classes?

I have a basic test setup with TestA dependent on ConfigA and TestB dependent on ConfigB. @Configuration public class ConfigA { // define A beans } @Configuration public class ConfigB { // define B…
Zack
  • 3,819
  • 3
  • 27
  • 48
-2
votes
1 answer

JUnit java.lang.AssertionError: Unimplemented

i have a java class tested with JUnit but aI am getting a java.lang.AssertionError: Unimplemented for all these Methods and i can't find the error exemple: java.lang.AssertionError: Unimplemented …
Doni
  • 23
  • 3
  • 5
-3
votes
2 answers

How does Maven come to know which is a test class and which is not

I have worked with junits but never gave a thought on how maven comes to know that the class defined src/test/java is a test class and not a normal class. One possibility is it may scan for @Test in the class. Is this how it is achived? If not…
Tushar Banne
  • 1,587
  • 4
  • 20
  • 38
1 2 3
8
9