Commit Graph

17 Commits

Author SHA1 Message Date
ryo katsuma
6429c09a3c Add context method as describe alias 2013-10-11 00:06:28 +09:00
Laurent Sansonetti
2ee0de0747 support pure NSExceptions 2013-07-30 14:59:25 +02:00
Colin T.A. Gray
24b7c9b128 fix the bug in output=colorized which cause a syntax error with system default Ruby1.8 2013-06-17 09:07:29 +09:00
Colin T.A. Gray
cb3d1438dc adds output=colorized option 2013-06-17 08:20:15 +09:00
Steven Webb
a79c7e3d27 Include exception message in bacon error output 2013-03-14 13:16:45 +09:00
Watson
838ae1dee6 remove a `#' if it is included in first character in tap's description because its description will handled as comment in tap format 2013-01-18 18:16:39 +09:00
Watson
95fb1bd32a add a message of `describe' to description of tap's output
## before
not ok 1 - has one window: FAILED

## after
not ok 1 - Application 'test' has one window: FAILED
2013-01-18 17:26:04 +09:00
Watson
9b273d6f82 fix a tap format in `rake spec' to output the each test numbers instead of the total number
## before
$ rake spec output=tap
ok 34  - works with Assets
ok 34  - works with hash
…
ok 34  - should work
1..34
# 34 tests, 61 assertions, 0 failures, 0 errors

## after
$ rake spec output=tap
ok 1   - works with Assets
ok 2   - works with hash
…
ok 34  - should work
1..34
# 34 tests, 61 assertions, 0 failures, 0 errors
2013-01-18 11:52:09 +09:00
Watson
517cb186c1 fix a bug in `rake spec' which it would raise an ArgumentError when use "it" without block
A following spec will raise an ArgumentError.

	describe "Application 'test'" do
	  it "has one window"
	end

`instance_eval' will pass a receiver object into block.
When use a block which created by lambda, it should accept a receiver object as block parameter.

	b = lambda { self.upcase }
	"test".instance_eval(&b) #=> wrong number of arguments (1 for 0) (ArgumentError)
2013-01-18 11:08:43 +09:00
Laurent Sansonetti
2a8f81542d work around a compiler problem (time method signature) 2012-12-20 15:53:00 +05:30
Dennis Ushakov
716c765571 Added formatter for RubyMine tests runner 2012-11-29 00:34:31 +09:00
Laurent Sansonetti
6c147ec8ed disable exception logging in spec mode 2012-07-11 15:43:41 +02:00
Laurent Sansonetti
165c708eaa better output handling 2012-06-29 21:40:44 +02:00
Laurent Sansonetti
1e7f13b465 add fast output 2012-06-14 21:03:42 +02:00
Laurent Sansonetti
3383a62425 honor output env variable 2012-06-12 20:53:35 +02:00
Laurent Sansonetti
55c4d35059 proper attribution 2011-12-24 13:32:21 +01:00
Laurent Sansonetti
d47548ad24 add basic bacon/spec integration 2011-12-23 22:39:47 +01:00