JUnit is a framework for the Java programming language. This framework was developed by Kent Beck and Erich Gamma and is one of the most successful and widely used automated Unit testing frameworks.
Basic installation steps include:
- Download and Install JUnit
- Define a Subclase of TestCase
- Override setUP() method Initialize the environment
- Define one or many test() method that exercises objects under test and asserts expected results
- OVerride tearDown() method to release resources properly
- Define a suite() method to create a test suite
- Execute tests one at a time or execute a suite of tests
Technorati Tags: java testing, junit, unit testing
I have worked over 10 years in the Software Quality Assurance Industry and this is website is way for me to share some of my experience and is my gift back to the community.
I plan to share some of my experiences with Open Source Automation tools as well as some Commercial ones I have used in the past. I’ll share some information on:
- Planning a Test Automation Project
- Choosing the write tool
- The What, Why, How and When of Test Automation
- Tips using some popular tools & frameworks including Junit, HTTPUnit, Selenium, Watir and Wet
- Processes and Procedures
- Finding good people
Any many more topics.
defects, httpunit, java, junit, planning, process, ruby, selenium, watir, wet
|
junit, Selenium IDE, Selenium RC, Test Automation