Tag Archives: TDD

Test-Driven Development: By Example

I earlier wrote about the book, The Art of Unit Testing, which I finished a while ago. That book was very good and was focused on how to write good unit tests. It also mentioned Test-Driven Development, TDD, but not too much. The book I read next, which I finished a few days ago, was [...]
Posted in Reviews, Software Development | Also tagged , , | Leave a comment

How to test asynchronous events

The other day I had to test that an event was raised after some asynchronous work had been done. And since I currently am a total test newbie, this was a new thing for me. Say we have this simple shell of a class: public class Worker {     public event EventHandler<eventargs> Done;     public void Start()   [...]
Posted in Software Development | Also tagged , , , | Leave a comment

The Art of Unit Testing

Have you gone through three years of computer science bachelor degree fun (or anything similar) and pretty much not heard a word about testing? Or have you heard from all your teachers that testing is extremely important, but never learned how to even write one? That has been the case for me. Testing is important, [...]
Posted in Reviews, Software Development | Also tagged , , | 3 Comments

Project Euler: Just two tiny notes

Just two things I felt like mentioning: Thing number one I got tired of the page 2 stuff. So, I swapped all the <!–nextpage–> things with <!–more–> and a header. Which means that the solution will now be on the same page as the problem. (Although not on the index page). Thing number two My brother puts his whole [...]
Posted in Project Euler, Software Development | Also tagged | 2 Comments
  • Twitter Facebook YouTube last.fm LinkedIn Google vimeo Technorati RSS feed
  • This would be meGreetings! I am Torleif Berger, 24 years old, a Seventh-Day Adventist and currently working as a software developer. Otherwise, not much to tell. Although I do juggle a bit...