SoftwareTesting:Tools:UnitTest: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 9: Line 9:
# <strike>Create base MinUnit headers in mozilla/testing</strike>
# <strike>Create base MinUnit headers in mozilla/testing</strike>
# Implement example MinUnit Unit Tests
# Implement example MinUnit Unit Tests
# Create [http://www.gamesfromwithin.com/articles/0512/000103.html CppUnitLite] in mozilla/testing
# <strike>Create [http://www.gamesfromwithin.com/articles/0512/000103.html CppUnitLite] in mozilla/testing</strike>
# Implement example CppUnitLite Unit Tests
# Implement example CppUnitLite Unit Tests
# Create [http://cxxtest.sourceforge.net/ CxxTest] in mozilla/testing
# <strike>Create [http://cxxtest.sourceforge.net/ CxxTest] in mozilla/testing</strike>
# Implement example CxxTest Unit Tests
# Implement example CxxTest Unit Tests
# Reporting mechanism / framework
# Reporting mechanism / framework

Revision as of 19:41, 10 July 2006

(see 343673)

Description

What is a “unit”? It can be a module, a class, a method or even a single block of code. Any encapsulation can be considered a unit and is up to the developer to define. A suite of tests can be written to test correctness of the unit and assert that a piece of code evaluates to true.

Tasks

  1. Create base MinUnit headers in mozilla/testing
  2. Implement example MinUnit Unit Tests
  3. Create CppUnitLite in mozilla/testing
  4. Implement example CppUnitLite Unit Tests
  5. Create CxxTest in mozilla/testing
  6. Implement example CxxTest Unit Tests
  7. Reporting mechanism / framework
  8. Tinderbox?

Issues

  1. cvs access
  2. discussions to find and create more tests
  3. reporting mechanism still TBD
  4. testing platform still TBD