CSC/ECE 517 Fall 2011/ch6 6f jd
Continous Integration
Introduction
Definitions
Test Driven Development (TDD)
Test-Driven Development (TDD) is the process of writing tests first and foremost. These tests represent desired improvements and/or new functionality in the system. Since these changes have yet to be implemented, the tests must fail when initially run. Then code is written until these tests can be passed, assuring that the desired behavior is exhibited by the code. Finally the code is rewritten to meet acceptable standards.
Testing Framework
A testing framework allows for automated software testing. It contains a set of assumptions, concepts, and tools that assist in this testing. The main advantage of using a testing framework is the lower cost for maintenance. The testing framework is responsible for :
- defining the format in which to express expectations
- creating a mechanism to hook into or drive the application under test
- executing the tests
- reporting results
Conclusion
References
- [1] Test-Unit Site Unit testing framework
- [2] RSpec Site RSpec Testing
- [3] Win32-autogui Site Win32-autogui on Github
- [4] Mike Gunderloy Cucumber: The Latest in Ruby Testing