开发者

Open source project developed using TDD and Java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so开发者_如何学JAVA it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I'm looking for a project that:

1) Has avaiable sources including tests.

2) Was/is developed strictly using TDD.

3) Is written in Java and JUnit.

Any ideas?


We wrote JBehave, the BDD scenario framework, using BDD at a unit level too. Very slightly different to TDD but provides many of the same values. (You'll find the tests at src/behaviour rather than src/test).

Ditto with Tyburn, a little Swing automation harness I wrote some time ago.

You might also look at Mockito.

I recommend these three because they've been written to support aspects of BDD itself, so the people who wrote them really, really care about this stuff.


JUnit comes to mind.

According to Erich Gamma in this interview, it was developed "in strict test-driven way." I've also heard interviews with both Gamma and Beck that repeated this statement.


Hibernate and Spring are good open source examples that are heavily unit-tested.

EDIT, any of the apache commons projects as well...


"Good example of complex code using TDD" is a question on the Programmers SE site with answers that could be of interest to you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜