Words of Java RSS Feed
Words of Java

Words of Java

High and low about Java and Web programming

 
 
 
 

Posts tagged tdd

Unit testing and TDD

Today, as many other days I had assigned myself a task from Jira and started to work. First, by checking what to do and then I started to write the complementary JUnit tests to get the tests to break. Is it not great!? Ofcource, it’s even more fun to be able to write whishful failing [...]

Testdriven is fun

Sat down with an 8-hour task today, a junior Java programmer and went all testdriven. It was fun and it went well. It was fun. It went well. Just like it should be working with Java development. I sure hope it was educating also, but I think so.
Maybe I had a good drive for some [...]

Software development vs dog training

Any day (one day) now I’m going to sit down and create a post about this topic - where both subtopics really fascinates me and where I want to gain more and more knowledge and experience.
There are quite some simularities - and then I’m not even going to talk about Dogbert… well, maybe a [...]

Test your own code or not?

I can’t make up my mind if you should test your own code or not. The advantage is (at least if you do tests first) is that you know what parts of code to test and you can design your production code to pass the tests which are supposed to mirror everything that your code [...]

Database explorer for testing purposes

Found an interresting article about test where the database explorer Datastorm was mentioned. It “be launched directly from within your Java code” which means you can look at a transaction / database state in the middle of the transaction, before the commit / rollback.
http://datastorm.sourceforge.net/

Back to testing

New functionality today which means a little bit of coding, a lot of testing and a lot of understanding business logic. Had a good aproach with the test written before code, non compiling, then refactoring so they compile and adding produciton code for tests to run. What went wrong - test code to add data [...]

Recent Posts

Popular Posts

Custom Search