Tests for JUnit. How?

How is the JUnit Framework tested?

How tests are created for their framework code, given that JUnit is the testing framework itself.

What technology are they using? Their own testing framework? Smaller more basic version? Another structure?

Can anyone read some details?

+2


a source to share


3 answers


I would suggest they are testing their own framework - why not?



Looking at the source , they do.

+2


a source


I believe the framework is tested on its own. I'm sure I remember reading it in the Kent Becks TDD book . Maybe I am wrong.



+1


a source


Who is watching the guards?

I read that the authors of JUnit are test based developers, so in theory they would write unit tests before they wrote the JUnit classes themselves. I also remember that they wrote the first version for Smalltalk and JUnit is a port / update of the Smalltalk package.

+1


a source







All Articles