paytonrules / OCDSpec

An awesome TDD framework for Objective-C
http://paytonrules.com/OCDSpec/
MIT License
19 stars 4 forks source link

Better Output for Array matching #19

Open ericmeyer opened 12 years ago

ericmeyer commented 12 years ago

The following code:

it(@"matches arrays",
  NSArray* actual = [NSArray arrayWithObjects: @"first", nil];
  NSArray* expected = [NSArray arrayWithObjects: @"frist", nil];
  [expect(actual) toBeEqualTo: expected];
}),

gives the following error on the Issue Navigator:

Shell Script Invocation Error
  (

The full error appears in the log, but the Issue Navigator only shows the first line, which is just an open parenthesis. For a while, I thought my test was broken.

ericmeyer commented 12 years ago

After thinking about it, it seems likely that getting test failure info to the Debug area might solve this.