Belun
Belun

Reputation: 4169

Tests for JUnit. How?

How is the JUnit Framework tested ?

How are the tests for their framework code created, considering that JUnit as a testing framework itself.

What technology are they using ? Their own testing framework ? A smaller more basic version of it ? Another framework ?

Can any knower please provide some details ?

Upvotes: 2

Views: 181

Answers (3)

Winter
Winter

Reputation: 1490

Who watches the watchmen?

I've read the authors of JUnit are test driven developers so in theory they would have written the unit tests before the wrote the JUnit classes themselves. I also remember that they wrote the first version for Smalltalk and JUnit was a port/upgrade of the Smalltalk suite.

Upvotes: 1

Sam Holder
Sam Holder

Reputation: 32954

I believe that the framework is tested with itself. I'm sure I remember reading it in Kent Becks TDD book. Might be mistaken though.

Upvotes: 1

SLaks
SLaks

Reputation: 888273

I would assume that they test using their own framework - why wouldn't they?

Looking at the source, they do.

Upvotes: 2

Related Questions