Mike Bland
d9ee4168ed
Add .appveyor.yml
...
This follows the example from https://www.appveyor.com/docs/lang/ruby/
except that it doesn't need `install` or `before_test` steps.
2017-09-30 14:41:52 -04:00
Bianca Tamayo
aaf62cd9d8
Merge pull request #6 from peteruhnak/patch-1
...
Minor fix in the installation snippet
2017-09-25 21:12:47 -07:00
Peter Uhnak
3a6efc03cf
Minor fix in the install command
2017-09-25 10:07:42 +02:00
Bianca Tamayo
c85f340f1e
Added IRC channel info
2017-09-24 11:01:48 -07:00
Bianca Tamayo
8ca0685b85
Updating paths #5
...
FullSemver: 0.4.1+9
Branch: master
2017-09-24 10:26:25 -07:00
Bianca Tamayo
e3b37da3a4
Added Travis CI Badge to master branch README
2017-09-24 10:04:14 -07:00
Bianca Tamayo
b72cd3545b
Updated repo name in README
2017-09-20 15:28:45 -07:00
Bianca Tamayo
d0f06d1f0d
Added description & info about this repo in README
2017-09-19 14:55:18 -07:00
Sam Stephenson
03608115df
Adopt Contributor Covenant 1.4
2016-02-19 12:28:02 -06:00
Mislav Marohnić
955309ab94
Merge pull request #90 from Sylvain303/master
...
saving $IFS in run() not altered for code using it
2015-02-26 11:04:38 +13:00
Sylvain
5fe46a0893
pull #90 quote every string compare
...
test are all successful.
2015-01-30 13:08:27 +01:00
Sylvain
1735a4fcd2
saving $IFS in run() not altered for code using it
...
IFS was modified by run() becoming '\n' and so relying to its bash default
was failing tests.
Also some wrong tests corrected because was relying on this behavior to pass.
Fix #89
2015-01-29 20:51:49 +01:00
Sam Stephenson
3b33a5ac6a
Merge pull request #76 from jwerle/patch-1
...
Update package.json
2014-10-16 09:44:15 -05:00
Joseph Werle
eb120d944e
Update package.json
2014-10-15 16:05:16 -04:00
Sam Stephenson
7b032e4b23
Bats 0.4.0
2014-08-13 09:59:22 -05:00
Sam Stephenson
d6d185ad5b
Update copyright year
2014-08-13 09:58:34 -05:00
Sam Stephenson
d628bd7251
Merge pull request #68 from duggan/test-summaries
...
Test summaries
2014-08-13 08:48:28 -05:00
Henrique Moody
3be82466a7
Add skipped count tests in the summary
...
This also update the behaviour of the summary, now it only display the
number of failures, and skipped tests also, if the numbers are greater
than zero.
2014-08-13 14:32:35 +01:00
Sam Stephenson
2c6fed1838
Print the outermost, not innermost, failed command
...
The outermost command—i.e. the line that failed inside the test case function itself—is more likely to be meaningful at a glance than the innermost command, which might be e.g. the implementation of a helper assertion.
2014-08-12 17:28:03 -05:00
Sam Stephenson
a715fff30a
Print filenames relative to the working directory
2014-08-12 16:56:52 -05:00
Sam Stephenson
716d2d62ed
Print the failing status code, if it's significant
2014-08-12 16:45:51 -05:00
Sam Stephenson
81be444b3b
bats_frame_filename
normalizes test filenames
2014-08-12 15:14:16 -05:00
Sam Stephenson
ec6fbc10f1
Split print_failed_command from print_stack_trace
2014-08-12 15:04:18 -05:00
Sam Stephenson
c010220e7a
Merge remote-tracking branch 'ahippo/print-failed-command' into print-failed-command
...
Conflicts:
libexec/bats-exec-test
2014-08-12 12:19:00 -05:00
Sam Stephenson
f193ddbe4e
Refactor the stack trace-capturing debug trap
2014-08-12 10:31:22 -05:00
Andrey Mazo
03c6ab4c0f
Fix backtrace sed script for non-GNU seds
...
Tested on GNU `sed --posix`.
From `info sed`:
`\+'
As `*', but matches one or more. It is a GNU extension.
`\CHAR'
Matches CHAR, where CHAR is one of `$', `*', `.', `[', `\', or `^'.
Note that the only C-like backslash sequences that you can
portably assume to be interpreted are `\n' and `\\'; in particular
`\t' is not portable, and matches a `t' under most implementations
of `sed', rather than a tab character.
2014-06-29 00:32:01 +04:00
Andrey Mazo
bbaf0f50df
Print failed statement in backtrace
...
Update tests accordingly.
2014-06-29 00:30:49 +04:00
Sam Stephenson
64adaa02c3
Merge pull request #60 from bpkg/master
...
add package.json for bpkg
2014-06-16 20:29:43 -05:00
Joseph Werle
96d3a79b81
use install correctly
2014-06-16 18:57:26 -04:00
Joseph Werle
95c5d404fb
add package.json
2014-06-16 18:56:49 -04:00
Sam Stephenson
91feff9f1a
Merge pull request #59 from Zearin/patch-1
...
Minor edits to README.md
2014-06-10 10:01:13 -05:00
Tony
b2cc8ea973
Minor edits to README.md
...
Edited for formatting, spacing, and descriptive headings for Bats helpers/commands/functions.
2014-06-10 10:48:27 -04:00
Sam Stephenson
bd23c3831c
Default to TAP output when the CI environment variable is set
...
#52
2014-06-01 20:29:54 -05:00
Sam Stephenson
34b65bb904
Safeguard test teardown ( #45 )
2014-06-01 20:21:14 -05:00
Sam Stephenson
c7b0e6eba8
Style
2014-06-01 18:04:29 -05:00
Sam Stephenson
6b4802cf54
Merge pull request #56 from ahippo/load-abs
...
Make `load` handle absolute paths too
2014-06-01 17:58:42 -05:00
Sam Stephenson
219fca763f
Merge pull request #54 from ahippo/typo-fix
...
Fix typo in docs
2014-06-01 17:57:52 -05:00
Andrey Mazo
35f963010d
Make load
handle absolute paths too
...
Add 2 simple tests on this.
2014-05-21 18:30:51 -04:00
Andrey Mazo
37735a7065
Fix typo in docs
2014-05-21 00:01:13 -04:00
Sam Stephenson
2476770c84
Merge pull request #34 from j1wilmot/patch-1
...
Update TAP format link in README.md
2013-11-21 15:18:34 -08:00
Jeremy Wilmot
0f9dc5d3d9
Update TAP format link in README.md
...
The previous link to the TAP format wiki doesn't appear to be valid any longer. http://testanything.org/ redirects to a wiki page that explains the format, so this seems like the best place to link to.
2013-11-21 17:40:51 -05:00
Sam Stephenson
1041e46f39
Support single-line test definitions
2013-11-17 13:04:57 -06:00
Sam Stephenson
08374f7269
Avoid expr
for faster preprocessing
2013-11-17 12:34:13 -06:00
Sam Stephenson
80815f7ebd
Ensure $PREFIX/share/man/man{1,7} directories exist
...
Fixes #33
2013-11-10 22:56:29 -06:00
Sam Stephenson
26a89da1b5
Add makefile for man pages
2013-11-10 16:04:07 -06:00
Sam Stephenson
225440bb65
Update the man pages
2013-11-10 16:03:38 -06:00
Jakukyo Friel
b1eee9f455
add Manpages
...
- add bats.1
- add bats.7
- tweak install.sh to install manpages
2013-11-09 16:09:26 +08:00
Sam Stephenson
ddd03ab852
Remove unused variable
2013-11-04 14:00:58 -06:00
Sam Stephenson
4a187385d2
Simplify test names
2013-11-04 13:34:37 -06:00
Sam Stephenson
c8d63dd7e0
Correctly log errors in setup
and teardown
functions
...
Fixes #30
2013-11-04 12:20:55 -06:00