#20 ✓resolved
bahuvrihi

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A framework for making configurable, file-based tasks and workflows.

People watching this ticket

Pages