DBUnit

Posted by Olga on May 13, 2010 in Development
No Comments

When testing code that access and modify the database, you’ll need to insert the initial data into the database, execute your code, and check if the data in the database is exactly what you expected after executing your code. To automate this kind of testing you’ll need any kind of tool that can do all [...]

Tags: , , , , , ,

JUnit

Posted by Olga on April 29, 2010 in Development
No Comments

JUnit is a simple, open source framework to write and run repeatable tests. Installing JUnit 1. Download the latest version of JUnit, from junit.org. 2. Then install JUnit on your platform: Windows 1.Unzip the junit.zip distribution file to a directory referred to as %JUNIT_HOME%. 2. Add JUnit to the classpath: set CLASSPATH=%CLASSPATH%;%JUNIT_HOME%\junit.jar Unix (bash) 1.Unzip [...]

Tags: , , , ,

Unit testing

Posted by Olga on April 28, 2010 in Development
No Comments

Real stupidity beats artificial intelligence every time. Terry Pratchett. Testing your application cannot be reduced to test that your application normal use would work, you have to test that every piece of code works at it should. Unit testing consist on identifying and consistently verifying each software unit, checking  inputs, state and outputs of an [...]

Tags: , , , ,

Copyright © 2006-2012 Too weak to give in All rights reserved.
Shades v1.5.1 theme from BuyNowShop.com.