CSC/ECE 517 Fall 2009/wiki1a 1 JunitTest: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''Writing Effective JUnit Test Cases'''
'''Writing Effective JUnit Test Cases'''<br><br>
JUnit is a testing framework aimed at making unit testing easy by simplifying the writing of test cases and by providing automated running of tests and test suites.
JUnit is a testing framework aimed at making unit testing easy by simplifying the writing of test cases and by providing automated running of tests and test suites.



Revision as of 16:07, 7 September 2009

Writing Effective JUnit Test Cases

JUnit is a testing framework aimed at making unit testing easy by simplifying the writing of test cases and by providing automated running of tests and test suites.

The main aim of this document is to provide a repository of rules that can be used in-order to write an effective Junit test. This doc also discusses various sites and suggest which are the best sites to read for an overview of the topic and to understand the different philosophies of test-case design.

Introduction

Unit Testing Overview

Junit Overview

Websites to lookout

For Overview

For Ideas on test case design

How to get started

Setup

Simple testing example

Rules for writing effective Junit test cases

Conclusion

References