RSS

Tag Archives: testing

Always Test the Software running in the Same Way that Customer will run it

Some programmers have their own favorite ways to run the software they are working on, that is run differently than the way that the customer will run it.  This is evil.  Programmer is not testing what the customer will get, but testing something else.  Is that good enough? Read the rest of this entry »

 
Leave a comment

Posted by on May 14, 2014 in Design, practice

 

Tags: ,

3 reasons that XML should be Streamed and never “Stringed”

XML is a text format, and so it is tempting to handle it with the normal String handling capabilities of Java, but there are several reasons that you must never do this.  XML should either be on the disk as a sequence of bytes, or it should be parsed as a DOM tree of decoded string values, but it should never be in a String in its encoded value. Read the rest of this entry »

 
Leave a comment

Posted by on July 17, 2013 in Coding, Design

 

Tags: , , , ,

Improving the Code through Installation Manual Analysis

What can you learn from your install manual that can make your product better?  Below I outline a technique to work through an existing installation manual, and methodically find clues on how to make a software product better. Read the rest of this entry »

 
Leave a comment

Posted by on March 6, 2013 in practice

 

Tags: , , , , ,

Email Testing Mode

One of the most challenging aspects of implementing a real system which connects to the email system is being able to test sufficiently.  There is a simple trick which can be immensely helpful: email testing mode. Read the rest of this entry »

 
Leave a comment

Posted by on October 23, 2012 in Coding

 

Tags: , ,

Use Realistic User Scenarios

So many times I see programmers create user scenario stories that are entire abstract. If you want to know if the software will work for a real use, you need to consider real scenarios. Read the rest of this entry »

 
Leave a comment

Posted by on October 14, 2012 in Design

 

Tags: , , ,

#28 Avoid “Test Script” Fever

There is a strange propensity among developers to make tests more complicated than they need to be in the name of flexibility.  Tests don’t need to be flexible, they need to be reliable and maintainable.  I have seen this pattern so many times it is worth a mention here to avoid it.  To understand it, you have to consider a specific example. Read the rest of this entry »

 
1 Comment

Posted by on April 17, 2012 in Coding, Design

 

Tags: ,