RSS

Tag Archives: testing

PostHoc: Testing Apps that Send Email

I have developed a utility program that is extremely useful for testing and demonstrating applications that send email.  It is called Post Hoc.   As far as your application is concerned, it is an SMTP server, but it comes with a built in user interface to let you see and inspect the email that was sent.  Without any fuss. Read the rest of this entry »

 
Leave a comment

Posted by on July 24, 2017 in Coding, Resource

 

Tags: , , , , ,

It’s OK to Ship Tests with Product

A product is a product, and testing is testing, and they should be kept separate, right?  The thinking goes that consumers would never want to test the product.  Of course they don’t, but they are not the only people in the field. Read the rest of this entry »

 
Leave a comment

Posted by on July 10, 2017 in Coding, Design, practice

 

Tags:

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: , , ,