|
|
| Category: Articles |
Test First Guidelines |
Last Update: 2007/8/16 12:52 |
Description:
This document is an attempt to filter out guidelines about Test First Design from the XP series of books. It is not intented to justify Test First Design, but just want summarize what Martin Fowler's Refactoring and the XP texts have to say on the subject.
|
| Hits: 94 Rating0.00 (0 votes) |
| Category: Articles |
Endo-Testing: Unit Testing with Mock Objects (PDF) |
Last Update: 2007/8/20 23:46 |
Description:
Unit testing is a fundamental practice in Extreme Programming, but most non-trivial code is difficult to test in isolation. It is hard to avoid writing test suites that are complex, incomplete, and difficult to maintain and interpret. Using Mock Objects for unit testing improves both domain code and test suites. They allow unit tests to be written for everything, simplify test structure, and avoid polluting domain code with testing infrastructure.
|
| Hits: 83 Rating0.00 (0 votes) |
| Category: Articles |
Code Coverage Lessons |
Last Update: 2007/8/20 23:54 |
Description:
Lessons learned on the road to 100% code coverage. What is 100% code coverage? Code coverage is a metric that tells you how much of the source code for an application is run when the unit tests for the application are run. If 100% of the lines of source code are run when the unit tests are run, then you have 100% code coverage.
|
| Hits: 86 Rating0.00 (0 votes) |
| Category: Articles |
Systir |
Last Update: 2007/8/23 1:44 |
Description:
Systir stands for System Testing In Ruby. This doesn’t mean “system testing of Ruby code”; rather, it means we used Ruby to create a tool for helping you automate your system tests. In short, Systir allows you to write system-level tests in a “domain language”; that is, a custom language that pertains to your target software functionality and its own particular constructs.
|
| Hits: 77 Rating0.00 (0 votes) |
| Category: Articles |
Endo-Testing: Unit Testing with Mock Objects (PDF) |
Last Update: 2007/8/30 1:32 |
Description:
Unit testing is a fundamental practice in Extreme Programming, but most non-trivial code is difficult to test in isolation. It is hard to avoid writing test suites that are complex, incomplete, and difficult to maintain and interpret. Using Mock Objects for unit testing improves both domain code and test suites. They allow unit tests to be written for everything, simplify test structure, and avoid polluting domain code with testing infrastructure.
|
| Hits: 65 Rating0.00 (0 votes) |
| Category: Articles |
Using JMock with Test-Driven Development |
Last Update: 2007/8/31 7:35 |
Description:
Applying Mock objects effectively is a key factor when performing Test Driven Development (TDD). In this article I'll introduce the basics of using JMock, a Mock object framework, in conjunction with Test-Driven Development. To illustrate the technique I will work through a case study, the creation of a cache component by means of test-first development with JMock.
|
| Hits: 82 Rating0.00 (0 votes) |
|
|
|