support for mini/test
Reported by bahuvrihi | 2008-04-27 07:44:24 UTC
Tests should be migrated to Rspec, or at least the testing methods should be refactored to give an Rspec interface. In many cases the syntax will likely be more natural.
Subsets
define_condition(condition) do
end
provided(condition) do
it "should..."
end
File Testing
using_named_directory do |dir|
it "should..." do
task.enq(dir.input_files)
app.run
app.results.should_equal_expected_files_for(dir)
end
end
Comments and changes to this ticket
-

bahuvrihi 2008-04-29 11:08:20 UTC
- Milestone set to Tap-1.0.0
-

bahuvrihi 2008-10-21 08:15:44 UTC
- Title changed from Migration to Rspec to support for mini/test
- Tag set to feature, tap, testing
Mini/test is apparently going to be the basis for ruby 1.9 testing, and provides support for BDD-style tests. Tap should support mini/test and leave rspec to a third-party gem.
Full migration of the tests is unrealistic and unnecessary.
-

bahuvrihi 2008-10-21 08:17:30 UTC
- Milestone cleared.
-

bahuvrihi 2008-11-15 08:09:18 UTC
- State changed from new to resolved
-

bahuvrihi 2008-11-15 08:09:25 UTC
- Assigned user set to bahuvrihi
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.