CSC/ECE 517 Fall 2009/wiki1a 1 JunitTest

From Expertiza_Wiki
Revision as of 16:07, 7 September 2009 by Wolverine (talk | contribs)
Jump to navigation Jump to search

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