¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

[TDD] current recommendations for tdd?


 

¿ªÔÆÌåÓý

People have told you about tools, as far as practices go I would recommend Ian Cooper's video TDD Where Did It All Go Wrong, it explains how the original ideas around testing units of behaviour (as in Kent Beck TDD by example) got a bit distorted and then explains how it should work


On 22 Jul 2014, at 18:37, "andrew.d.ciccarelli@... [testdrivendevelopment]" <testdrivendevelopment@...> wrote:

?

Hello, I was curious about the current state of TDD. Obviously, it's 10+ years old at this point. I wanted to find out which practices and tools are currently favored for TDD. I'm guessing that these may have evolved a bit over the years.


I'm a .NET developer. I prefer simple design for unit test implementation. I prefer to use free tools for unit testing. Which practices and tools would you use/recommend if starting a new .NET project from scratch today?


Asim Jalis
 

¿ªÔÆÌåÓý

What are current recommendations for tools in Java?

On Jul 23, 2014, at 1:38 AM, "Paul Mackintosh pnm@... [testdrivendevelopment]" <testdrivendevelopment@...> wrote:

?

People have told you about tools, as far as practices go I would recommend Ian Cooper's video TDD Where Did It All Go Wrong, it explains how the original ideas around testing units of behaviour (as in Kent Beck TDD by example) got a bit distorted and then explains how it should work


On 22 Jul 2014, at 18:37, "andrew.d.ciccarelli@... [testdrivendevelopment]" <testdrivendevelopment@...> wrote:

?

Hello, I was curious about the current state of TDD. Obviously, it's 10+ years old at this point. I wanted to find out which practices and tools are currently favored for TDD. I'm guessing that these may have evolved a bit over the years.


I'm a .NET developer. I prefer simple design for unit test implementation. I prefer to use free tools for unit testing. Which practices and tools would you use/recommend if starting a new .NET project from scratch today?


 

Asim Jalis asimjalis@... [testdrivendevelopment] wrote:
What are current recommendations for tools in Java?
Just junit, and perhaps guava libraries to get around some java deficiency.

Michal


 

Definitely JUnit. Also check out Mockito and AssertJ.?


On Sunday, July 27, 2014, Michal Svoboda pht@... [testdrivendevelopment] <testdrivendevelopment@...> wrote:
?

Asim Jalis asimjalis@... [testdrivendevelopment] wrote:
> What are current recommendations for tools in Java?

Just junit, and perhaps guava libraries to get around some java deficiency.

Michal


 

I think you'll need:

- A good unit-testing library;
- A good matcher/fluent-assertions library; and
- A good mock library
- A?good UI-testing framework (whether you plan to test UI)

IMHO, I recommend you to take a look at these libraries:

- TestNG (http://testng.org/): easier (and has better features) than JUnit;
- FEST-Assertions (https://github.com/alexruiz/fest-assert-2.x): It makes your assertions more fluent. I prefer using it than Hamcrest (https://github.com/hamcrest/JavaHamcrest), but it's just my personal taste;
- Mockito (https://code.google.com/p/mockito/): easier-to-construct mocks

UI testing:
- Selenium (http://docs.seleniumhq.org/), for Web/iOS/Android-Web applications
- Robotium (https://code.google.com/p/robotium/) for Android native/web applications
- FEST (http://docs.codehaus.org/display/FEST/Home) for Swing applications
?
Best regards,
- Thiago Delgado Pinto