CSC207H1 Lecture Notes - Junit, Regression Testing, Unit Testing

59 views6 pages
11 Jan 2013
School
Course
Professor

Document Summary

Test-driven development: write you tests first. In the real world this is ideal. The tests are based on requriements rather than code. The tests determine the code you need to write. There is no code unless there is a test that requires it in order to pass. Unit testing: also called component testing, the goal is to fully test a class in isolation, for example: Calling all methods with a simple parameter: ultimately, the aim is to exercise the object in all possible states. System testing: also called integration testing, the goal is to verify that components interact appropriately, for csc207h, this usually involves the whole program, for larger systems this may involve sub-components of the system. Testing terminology: test or test case: an action carried out, fixture: the context of the test (e. g. a data structure with a set of values)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions