Skip to content

Wakaleo Consulting

  Home

items tagged with TDD

Data-driven tests with JUnit 4 and Excel
Written By: Administrator
Section: Articles and Resources

Category: Blog

2009-11-27 00:33:19

One nice feature in JUnit 4 is that of Parameterized Tests, which let you do data-driven testing in JUnit with a minimum of fuss. It's easy enough, and very useful, to set up basic data-driven tests by defining your test data directly in your Java class. But what if you want to get your test data from somewhere else? In this article, we look at how to obtain test data from an Excel spreadsheet.


Read More About Data-Driven Tests With JUnit 4 And Excel...


Test-Driven Development and Software Quality
Written By: Administrator
Section: Articles and Resources

Category: Blog

2008-05-26 00:00:00

Any Test-Driven Development practitioner will tell you, Test-Driven Development is a design strategy, not a unit-testing technique. Writing unit tests are a means, not an end. The goal is to write better quality, more reliable, and more accurate code.


Read More About Test-Driven Development And Software Quality...


Test-Driven Development with Legacy code - an introduction
Written By: Administrator
Section: Articles and Resources

Category: Blog

2009-11-19 05:48:20

Test-Driven Development, or TDD, is often quoted as an essential Agile best practice, and so it is. It works wonders on green-fields projects and new code bases where you can start afresh and ensure that all your code is both easily testable and well tested. But what about legacy code? (By legacy code, I mean any code that does not have a comprehensive set of automated tests, so you might be writing legacy code as we speak). For most of us, most of the code we will ever work on will not have originally been our own work. And, unfortunately for the software industry, only a small fraction of code can really boast comprehensive unit and integration tests. How can techniques like Test-Driven Development make our work as developers more productive and less frustrating?


Read More About Test-Driven Development With Legacy Code - An Introduction...


Tests first or tests last - come on, who cares?
Written By: Administrator
Section: Articles and Resources

Category: Blog

2008-06-02 00:00:00

Let's not be pedantic. Write unit tests before you code a method, or after it - in my experience, it matters little, as long as you think about and write the tests at roughly the same time as you write the code. It's coming back to do the tests later (or not coming back at all) which causes problems. Personally, I like to write unit tests just before or immediately after writing small chunks of code - it doesn't break the flow, because it is part of the flow.


Read More About Tests First Or Tests Last - Come On, Who Cares?...


Using easyb with Maven
Written By: Administrator
Section: Articles and Resources

Category: Articles

2008-08-11 00:00:00

Easyb is a very cool way to test your Java application in BDD-style with Java. But wouldn't it be nice to be able to integrate your BDD stories into your Maven build process? The good news is, you can!


Read More About Using Easyb With Maven...





There are 6 items tagged with TDD. You can view all our tags in the Tag Cloud

<< Start < Previous 1 2 Next > End >>
Page 1 Of 2