support for mini/test
Reported by bahuvrihi | April 27th, 2008 @ 07:44 AM
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 April 29th, 2008 @ 11:08 AM
- Milestone set to Tap-1.0.0
-
bahuvrihi October 21st, 2008 @ 08:15 AM
- 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 October 21st, 2008 @ 08:17 AM
- Milestone cleared.
-
bahuvrihi November 15th, 2008 @ 08:09 AM
- State changed from new to resolved
-
bahuvrihi November 15th, 2008 @ 08:09 AM
- 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.