CSC/ECE 517 Fall 2011/ch2 2e ad: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
This is an introduction to the subject. | This is an introduction to the subject. | ||
===Definition=== | |||
====Test Driven Development (TDD)==== | |||
====Behavior Driven Development(BDD)==== | |||
====Mocking in Testing==== | |||
====Benchmarking in Testing==== | |||
====Testing Framework==== | |||
==Testing Framework Evolution== | ==Testing Framework Evolution== | ||
Explain here how testing in ruby went regular Test:unit testing to BDD testing. | |||
===TDD vs BDD=== | |||
Give high level example how they differ from each other. | |||
==Ruby Testing Frameworks== | |||
== | ===Overview of testing framework=== | ||
====Test:Unit==== | |||
====Shoulda==== | |||
====RSpec==== | |||
====Cucumber==== | |||
====Riot==== | |||
====Mini==== | |||
=== | ===Pros And Cons of Ruby Testing Frameworks=== | ||
{| class="wikitable sortable" style="font-size: 95%; text-align: center; width: auto;" | {| class="wikitable sortable" style="font-size: 95%; text-align: center; width: auto;" | ||
Line 59: | Line 71: | ||
== | ===Examples=== | ||
Examples go here [http://ironshay.com/post/A-Mini-Review-Benchmark-of-Rubye28099s-Different-Testing-Frameworks.aspx] | Examples go here [http://ironshay.com/post/A-Mini-Review-Benchmark-of-Rubye28099s-Different-Testing-Frameworks.aspx] | ||
====Actual Code being tested (Intro of functionality)==== | |||
====Test:Unit testing code==== | |||
====Shoulda testing code==== | |||
====RSpec testing code==== | |||
====Cucumber testing code==== | |||
====Riot testing code==== | |||
====Mini testing code==== | |||
Line 74: | Line 86: | ||
</pre> | </pre> | ||
==Additional Testing Framework== | ===Additional Testing Framework=== | ||
====UI Testing Framework==== | |||
=====Context===== | |||
====Additional testing==== | |||
==References== | ==References== |
Revision as of 14:49, 19 September 2011
Testing frameworks for Ruby
Introduction
This is an introduction to the subject.
Definition
Test Driven Development (TDD)
Behavior Driven Development(BDD)
Mocking in Testing
Benchmarking in Testing
Testing Framework
Testing Framework Evolution
Explain here how testing in ruby went regular Test:unit testing to BDD testing.
TDD vs BDD
Give high level example how they differ from each other.
Ruby Testing Frameworks
Overview of testing framework
Test:Unit
Shoulda
RSpec
Cucumber
Riot
Mini
Pros And Cons of Ruby Testing Frameworks
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 |
Examples
Examples go here [1]
Actual Code being tested (Intro of functionality)
Test:Unit testing code
Shoulda testing code
RSpec testing code
Cucumber testing code
Riot testing code
Mini testing code
Example code goes here
Additional Testing Framework
UI Testing Framework
Context
Additional 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.