Sam Stephenson
d2c5b9ef71
Remove defunct comment-pad trimming
2013-10-28 14:47:52 -05:00
Sam Stephenson
4b3670d4cb
Merge pull request #26 from sstephenson/ansi
...
Emit ANSI escape sequences directly instead of calling tput
2013-10-28 11:22:34 -07:00
Sam Stephenson
1534201101
Emit ANSI escape sequences directly instead of calling tput
2013-10-28 12:21:16 -05:00
Sam Stephenson
df4def2e67
Reorganize the readme
2013-10-24 12:13:38 -05:00
Peter Aronoff
59a83796c1
Update README to clarify rules about stdout/sterr
...
A short note in the README to explain that users should not write anything
to stdout outside of @test, setup or teardown functions.
Also added a link pointing to the wiki where more information is given
about how Bats evaluates test files.
2013-10-24 07:45:22 -04:00
Sam Stephenson
0e5e445728
Bats 0.3.0
2013-10-21 13:14:24 -05:00
Sam Stephenson
6d1852b85f
Merge pull request #11 from trygvis/master
...
Gitattributes
2013-10-21 10:48:08 -07:00
Sam Stephenson
8930e4e0d1
Fix for test files without trailing newlines ( closes #12 )
2013-10-21 12:45:49 -05:00
Sam Stephenson
02df4f53a8
Readme tweaks
2013-10-21 12:35:07 -05:00
Sam Stephenson
a3229efbfa
Pretty test output for terminals
2013-10-21 12:03:45 -05:00
Sam Stephenson
b0606bc8cd
Don't need duplicate tests for skip
2013-10-21 11:32:36 -05:00
Sam Stephenson
8873aab79f
Extended syntax: "begin" line before each test is run
2013-10-21 11:32:09 -05:00
Sam Stephenson
7849374964
bats_test_info -> bats_test_begin; begin calls setup
2013-10-21 11:21:17 -05:00
Sam Stephenson
a773171777
Don't indent the output of failed tests
2013-10-21 10:58:21 -05:00
Sam Stephenson
c8c56a987c
More descriptive message for failing line and file
2013-10-21 10:57:53 -05:00
Sam Stephenson
f4e09aaa2a
Merge pull request #19 from duggan/internal-skips
...
Support for TAP compliant skip directive inside test blocks.
2013-10-18 14:14:35 -07:00
Ross Duggan
f78324dfec
Support for TAP compliant skip directive inside test blocks.
2013-10-18 22:05:20 +01:00
Sam Stephenson
672f6e4be2
Invoke bats
with multiple files to run an ad-hoc suite
2013-10-18 14:13:00 -05:00
Trygve Laugstøl
caf17fad95
Setting gitattributes for more sane checkouts on Windows/Cygwin.
2013-06-06 13:43:13 +02:00
Sam Stephenson
bc72b85871
Print test file path and line number after a failing test
2013-05-23 12:47:17 -05:00
Sam Stephenson
1be500e4ff
Merge pull request #9 from adamhjk/dos_endings
...
Supporting DOS line endings in BATS tests
2013-05-23 06:41:09 -07:00
Adam Jacob
af9794634f
Using shell redirection rather than cat
2013-05-23 00:52:08 -04:00
Adam Jacob
9c8425d005
Supporting DOS line endings in BATS tests
2013-05-22 21:20:39 -04:00
Sam Stephenson
6116ef6b23
Add a note about Bats.tmbundle
2013-05-03 17:21:15 -05:00
Sam Stephenson
040deba950
Merge pull request #6 from mislav/echo-e-fix
...
fix preprocessing tests that have lines beginning with -e
2013-04-12 14:49:12 -07:00
Sam Stephenson
0bf9610856
Merge pull request #7 from binarybabel/bugfix-preprocess-expr
...
Remove redundant anchor in preprocess expression
2013-04-12 14:48:40 -07:00
BinaryBabel OSS
d2067db1b4
Remove redundant anchor in preprocess expression
...
Expr patterns are anchored to the beginning by default. Specifying
the carrot is undefined behavior and generates warnings on some versions, obscuring the
output.
2013-04-12 14:35:15 -07:00
Mislav Marohnić
7cec3d6259
fix preprocessing tests that have lines beginning with -e
2013-04-06 14:01:03 +02:00
Sam Stephenson
5030f53ecc
Bats 0.2.0
2012-11-16 18:06:58 -06:00
Sam Stephenson
d5d57bda5f
Rename header
2012-11-16 17:57:30 -06:00
Sam Stephenson
392d2fa6a0
Document test suites
2012-11-16 15:32:30 -06:00
Sam Stephenson
04be7dc717
Abort when load is invoked with a nonexistent script
2012-11-16 14:35:48 -06:00
Sam Stephenson
a75495b9dd
.gitkeep the empty suite fixture
2012-11-16 14:29:58 -06:00
Sam Stephenson
19a05cc77d
Suite support for aggregating multiple tests under a single run
2012-11-16 14:25:45 -06:00
Sam Stephenson
f8f78b5cd3
bats-exec -> bats-exec-test
2012-04-09 10:59:36 -05:00
Sam Stephenson
6b965e18c4
bats -c filename
prints the number of tests in the file
2012-04-08 23:25:38 -05:00
Sam Stephenson
3f82256855
Clean up cached sources on ^C
2012-04-08 23:13:58 -05:00
Sam Stephenson
ad4bc2e196
Cache preprocessed source for child test runs
2012-04-08 22:08:30 -05:00
Sam Stephenson
2f192ebffa
Bats 0.1.0
2011-12-30 14:13:41 -06:00
Sam Stephenson
d591867b35
Add -v/--version
2011-12-30 14:12:15 -06:00
Sam Stephenson
841d417b11
Wordsmithing
2011-12-30 14:04:14 -06:00
Sam Stephenson
1387d18328
Add contributing section
2011-12-29 18:56:17 -06:00
Sam Stephenson
aa71d3c3e8
Add copyright
2011-12-29 18:50:37 -06:00
Sam Stephenson
cefd684545
Add installer
2011-12-29 18:48:33 -06:00
Sam Stephenson
18b0517659
Document special variables
2011-12-29 18:39:58 -06:00
Sam Stephenson
1c164cd272
Document the load
command
2011-12-29 17:58:40 -06:00
Sam Stephenson
f854037dd1
Document the run
helper
2011-12-29 17:47:29 -06:00
Sam Stephenson
20b54ec582
Beginnings of a readme
2011-12-29 16:28:01 -06:00
Sam Stephenson
382c540fc3
MIT license
2011-12-29 16:27:51 -06:00
Sam Stephenson
e9d3143fdb
Capture stdout/stderr during tests and display it for failures
2011-12-28 23:50:49 -06:00