rubinius/rubinius — Issue #1469: Quirks when running autotest
Author: dyba
Created: 2011-12-24 05:36:40+00:00
State: open

# The Problem

When I write two specs, where one fails and the other passes, after executing the autotest command from the autotest gem and saving the passing spec, the output in the Terminal only shows the result of the passing spec rather than both the passing spec and the failing spec.

## Reproducing the Problem

You can use the following code:

```ruby
# spec/another_test_spec.rb
describe "AnotherTest" do
it "passes successfully" do
true.should be_true
end
end
```

```ruby
# spec/simple_test_spec.rb
describe "SimpleTest" do
it "should fail" do
false.should be_true
end
end
```

The first time you run the autotest command, you'll get one failure and one success. When I use MRI Ruby 1.9.2-p290 and save the passing spec, the output on the Terminal tells me I have a failing spec and a passing spec. When I use Rubinius HEAD and save the passing spec, the output on the Terminal tells me I have one passing spec; it makes no mention of having a failing spec.

I am running my code on a Mac OS X with Lion OS 10.7.2.