Testfirst development - PowerPoint PPT Presentation

1 / 3
About This Presentation
Title:

Testfirst development

Description:

Test-first development. If a class does not have automatic tests, you must assume ... Small, easy to learn, easy to use, effective. Java classes. TestCase, ... – PowerPoint PPT presentation

Number of Views:55
Avg rating:3.0/5.0
Slides: 4
Provided by: UNC52
Category:

less

Transcript and Presenter's Notes

Title: Testfirst development


1
Test-first development
  • If a class does not have automatic tests, you
    must assume it does not work
  • Regression testing tests retain value
  • JUnit (Beck Gamma)
  • industrial-strength regression testing for
    the common man

2
JUnit
  • Small, easy to learn, easy to use, effective
  • Java classes
  • TestCase, Suite, runners
  • 15 other language implementations
  • http//www.junit.org
  • http//www.xprogramming.com/software.htm

3
JUnit Test Class
  • One test method per target method
  • test anything that can break
  • dont test anything that cant
  • Can we give better guidance?
  • Can we systematically produce consistent and
    complete test classes?
Write a Comment
User Comments (0)
About PowerShow.com