Testing

  • submit to reddit

Diminishing Returns in software development and maintenance

Everyone knows from reading The Mythical Man Month that as you add more people to a software development project you will see diminishing marginal...

1 replies - 5780 views - 12/14/11 by Jim Bird in Articles

More Time Saved By Unit Tests

So I’ve been meaning to make a fix in one of my projects for a while, and I haven’t touched the code in over a year, so of course I have to go back and...

0 replies - 3370 views - 12/14/11 by Andy Gibson in Articles

TDD vs. BDD: or why can’t we all just get along?

I was listening to another good Hanselminuets podcast - Understanding BDD and NSpec with Matt Florence and Amir Rajan. As always it was a good and...

1 replies - 7866 views - 12/12/11 by Dror Helper in Articles

Some Definitions - Testing Techniques 9

I think that I’m coming to the end of my series of blogs on testing techniques, and it feels like it’s been along haul. One of the things...

0 replies - 2565 views - 12/09/11 by Roger Hughes in Articles

Why You Should Write Unit Tests - Testing Techniques 8

I’ve had lots of reaction to my recent blog on ‘What you Should Test’, some agreeing with me for varying reasons and others thinking that...

1 replies - 3631 views - 12/08/11 by Roger Hughes in Articles

More on Creating Stubs for Legacy Code - Testing Techniques 7

In my last blog, I talked about dealing with the badly behaved untestable1 SitePropertiesManager class and how to create stubs by extracting an...

0 replies - 2447 views - 12/04/11 by Roger Hughes in Articles

Unit testing : Asserting that a line was logged by Logback

I encountered a tricky problem today, I was writing a test for which the assertion was onto some function called or not. I couldn’t mock that function as it...

1 replies - 3887 views - 12/02/11 by Aurelien Broszn... in Articles

How *NOT* to win the hearts of developers, part 2

So, this next one, for me, points out something that I felt was a difficulty in being a tester with development experience.  See part one here.I don't...

5 replies - 7175 views - 12/01/11 by Dawn Cannan in Articles

Creating Stubs for Legacy Code - Testing Techniques 6

Any one who reads this blog will probably have realised that at present I’m working on a project that contains a whole bunch of legacy code that’s...

2 replies - 2244 views - 12/01/11 by Roger Hughes in Articles

Basic Mistakes in Database Testing

There is a huge number of books about TDD. Those books usually concentrate on using test for units of work. Units of work are understood in many different...

9 replies - 14075 views - 11/28/11 by Mitch Pronschinske in Articles

Unit Testing Using Mocks - Testing Techniques 5

My last blog was the fourth in a series of blogs on approaches to testing code, demonstrating how to create a unit test that isolates the object under test...

3 replies - 4256 views - 11/28/11 by Roger Hughes in Articles

Regular Unit Tests and Stubs - Testing Techniques 4

My last blog was the third in a series of blogs on approaches to testing code and discussing what you do and don’t have to test. It’s based around my...

5 replies - 3377 views - 11/26/11 by Roger Hughes in Articles

Unit Testing Spring with Mockito & PowerMock

I’ve updated my Spring Mockito Demo app that I demonstrate when teaching with a PowerMock of a final class with a static method. Demo Features Maven...

0 replies - 3413 views - 11/25/11 by Gordon Dickens in Articles

Principles for Creating Maintainable and Evolvable Tests

Having [automated] unit/integration/functional/… tests is great but it is too easy for them to become a hindrance, making any change to the system...

2 replies - 3139 views - 11/24/11 by Jakub Holý in Articles

What Should you Unit Test? - Testing Techniques 3

I was in the office yesterday, talking about testing to one of my colleagues who was a little unconvinced by writing unit tests. One of the reasons that he...

14 replies - 4403 views - 11/21/11 by Roger Hughes in Articles