How do you test your software?
Page 1 of 112 Replies - 1850 Views - Last Post: 22 July 2009 - 04:32 AM
#1
How do you test your software?
Posted 05 July 2009 - 02:37 PM
So the question is - how do you guys, developers (and maybe we even have qualified testers here), test your software?
First of all I am testing the program by trying to insert invalid values and values that could potentially cause errors. If it works fine after this, I am usually testing the software modules for functional problems (I split every program, if it is a complex one, in separate modules) by just releasing them among my friends and (started recently to increase feedback) publish some of them here on DIC. Besides I am also testing my modules on different machines with different configurations (both hardware and software) to see if it is compatible with different computers. Since I am an independent developer, I am trying to balance time for testing and development, so one won't affect another.
What's your story?
Replies To: How do you test your software?
#2
Re: How do you test your software?
Posted 06 July 2009 - 11:20 AM
edit: Also if I'm making an application for multiple operating systems I test on my other machine or in a VM.
This post has been edited by chris772: 06 July 2009 - 11:22 AM
#3
Re: How do you test your software?
Posted 10 July 2009 - 11:28 AM
Of course that is only hypothetical as I always right perfect code the first time and testing isn't necessary. ;-)
#4
Re: How do you test your software?
Posted 11 July 2009 - 03:53 PM
#5
Re: How do you test your software?
Posted 11 July 2009 - 04:44 PM
#6
Re: How do you test your software?
Posted 17 July 2009 - 01:24 PM
So one part would be testing software recognition, i would potentially install different apps and check the the client returns version numbers and manufacturers correctly for example.
Other parts include the GUI, where we can check that what happens if a license expires or the number of clients exceeds the number of licenses purchased. How has the developer controlled that?
Sometimes I can spend an entire day installing the application on different platforms with different combinations of databases, both local and remote, then, what happens if it's an upgrade?
The first thing I do when I get a build is spend a day using the software as an end user, just play with it. Then start thinking, what if? What happens if I enter a letter instead of a number where a number is expected?
The other thing I look out for is labels that tell me to do a specfic task, for example "Clicking back will cancel your entry", so I look at that and enter some stuff and then click Back and then Next again, does it clear it? It should do! (Often it doesn't ;-) )
I think the biggest tip I can give is to start off using your application like you would expect it to be used, then start thinking outside the box!
Hope that helps!
Premier2k
#7
Re: How do you test your software?
Posted 17 July 2009 - 01:41 PM
If writing assembly code, I write it in C first, then in assembly, then using the same test code, run them both and compare the results. A mismatch indicates a problem!
#8
Re: How do you test your software?
Posted 17 July 2009 - 01:46 PM
#9
Re: How do you test your software?
Posted 17 July 2009 - 04:16 PM
I prefer knowing I have rock solid code and thus I'm sure the problem is 99.999% elsewhere! But occasionally you do need to double-check things like assertions and debug checks as quite often there'll be a wizenheimer programmer thinking he's doing everyone a favor by turning of the assertion checking because it keeps breaking the application.
Years ago I used to write test code, test, the delete it. I stopped doing that about ten years ago. Now its on a compile switch but out of the way so as not to be an eyesore, but still available if needed without wasting time rebuilding it from scratch.
This post has been edited by wildgoose: 17 July 2009 - 04:18 PM
#10
Re: How do you test your software?
Posted 17 July 2009 - 04:34 PM
#11
Re: How do you test your software?
Posted 17 July 2009 - 05:18 PM
#12
Re: How do you test your software?
Posted 20 July 2009 - 01:26 PM
We are actually considering moving to the Test Driven Design model. There is a great article on that in the MSDN Magazine June issue here.
IMO test is the least discussed issue of software development on sites like this.. I would love to hear more about it here.
Aeternalis
#13
Re: How do you test your software?
Posted 22 July 2009 - 04:32 AM
|
|

New Topic/Question
Reply



MultiQuote






|