CSC/ECE 517 Fall 2011/ch2 2e ad
Testing frameworks for Ruby
Introduction
This is an introduction to the subject.
Testing Framework Evolution
Types of Ruby testing framework
1) TDD vs BDD vs Acceptance Testing (Include high level examples to distinguish them from each other) 2) Detail explanation about following testing framework: (a) Test:Unit (b) Shoulda (c) RSpec (d) Cucumber (e) Riot (f) Mini
Comparison
Testing Framework | Repository model | Concurrency model | Programming Languages | Scope of Change | Atomic commits | File Renames | Interactive Commits | Partial Checkout/clone | Platforms supported |
---|---|---|---|---|---|---|---|---|---|
RCS | Set of files | Merge | C | File | No | No | No | Yes | Unix-like |
CVS | Client-Server | Merge | C | File | No | No | No | Yes | Windows, Mac OS X |
Testing Framework Comparison
Examples go here [1] 1)Actual Code being tested (Intro of functionality) 2)Test:Unit testing code 3)Shoulda testing code 4)RSpec testing code 5)Cucumber testing code 6)Riot testing code 7)Mini testing code
Example code goes here
Additional Testing Framework
1) UI Testing Framework (a) Context 2)Addinal testing
References
- [1] Shay Friedman A Mini-Review-Benchmark of Ruby’s Different Testing Frameworks
Note
There are many testing frameworks for Rails, but for this topic, I would like you to concentrate on testing frameworks for Ruby itself. Look up information on these frameworks, and describe their evolution.