Commit Graph

209 Commits

Author SHA1 Message Date
Michael Klement
deb77cb5de Various bug fixes and cleanup.
* bug fixes:
  * fixed directory-existence argument check
  * fixed how `.urchin_stdout` files are cleaned up
  * fixed instances of error/warning messages outputting to stdout instead of stderr
* documentation, help and error-message improvements:
  * added specific error message if the (non-option) argument is not a directory
  * improved wording of CLI help
  * readme.md: replaced obsolete URL http://www.urchin.sh with https://github.com/scraperwiki/urchin
  * readme.md: made the fact clearer that `./cross-shell-tests` only tests urchin's _own_ cross-shell compatibility
  * HISTORY: fixed typo
* formatting and logging improvements:
  * added timestamp to the beginning of log files (`.urchin.log`)
  * captured output from failed tests is now printed in *red* to draw attention
  * test summary now prints the number of failed tests in the appropriate color for instant feedback (green, if none failed; red, otherwise)
* cleanup
  * removed unused test files, simplified some tests
2014-10-16 16:37:51 -04:00
Tom Mortimer-Jones
f12636e029 Merge pull request #6 from scraperwiki/exit-code
Set the exit status to reflect pass/fail.
2014-03-17 14:04:22 +00:00
David Jones
0587a615f3 Document the non zero exit code case. 2014-03-17 14:00:30 +00:00
David Jones
b95b010c0d Set the exit status to reflect pass/fail.
For Travis compatibility, we set the exit code to non-zero when
any tests fail.

Fixes #5.
2014-03-17 13:43:13 +00:00
David Jones
98c23a2ab8 Merge pull request #4 from tlevine/link-blog-post
Link to the blog post
2013-10-14 01:20:38 -07:00
Thomas Levine
fc711672d6 alternatives 2013-10-13 16:48:42 +00:00
David Jones
15099082db 0.0.2 2013-07-26 12:53:25 +01:00
David Jones
8d53676743 Ensure we can cd into directories starting with a hyphen. Fixes #3. 2013-07-26 12:51:01 +01:00
David Jones
8913cbc195 Removing space at the end of a line. 2013-07-02 09:46:21 +01:00
David Jones
17b4629ba5 when testing, just cd into urchin 2013-07-02 09:43:59 +01:00
David Jones
85bfafffc8 /bin/sh not login shell 2013-07-02 09:43:16 +01:00
David Jones
153b04b462 Merge branch 'master' of github.com:scraperwiki/urchin 2013-07-02 09:25:49 +01:00
David Jones
1cf65a723d Merge pull request #2 from tlevine/cross-shell-test-runner
Cross shell test runner
2013-07-01 08:17:52 -07:00
David Jones
c2f4d92704 Hide fixtures directory. 2013-06-28 10:58:25 +01:00
David Jones
31da4fae92 Print date and duration. 2013-06-28 10:48:43 +01:00
David Jones
e892c565cb Removed spurious output from grep. 2013-06-28 10:47:51 +01:00
Thomas Levine
5aace72fc6 remove conflicting ksh calls 2013-06-27 11:45:45 -07:00
Thomas Levine
a749c8dae3 fix urchin call in XSD test 2013-06-27 11:45:05 -07:00
Thomas Levine
da9a0c9948 documentation 2013-06-27 11:44:19 -07:00
Thomas Levine
91a4467f3e cross-shell test runner in runtests 2013-06-27 11:33:16 -07:00
David Jones
0110a72965 remove pointless use of echo 2013-06-27 18:27:40 +01:00
David Jones
d9902c0b11 ASCII art from figlet 2013-06-26 08:22:54 +01:00
David Jones
a900722fb7 Fix bug when test is called "-n" 2013-06-26 08:15:07 +01:00
David Jones
4d3a9eddb5 npm instructions. 2013-06-21 17:14:44 +01:00
David Jones
3062e58a75 Use singular / plural form correctly. 2013-06-20 18:56:29 +01:00
David Jones
222ba59d69 Test for singular. 2013-06-20 18:43:11 +01:00
David Jones
32b1941d75 0.0.1 2013-06-20 00:08:48 +01:00
David Jones
7a7dec2c4e Nominate binary. 2013-06-20 00:08:36 +01:00
David Jones
7536cdfc9f Make it an npm package! 2013-06-20 00:00:55 +01:00
David Jones
015052dcfd /bin/sh now 2013-06-19 09:20:13 +01:00
David Jones
31b3f89827 Make it a /bin/sh script. For greater good. 2013-06-19 07:46:31 +01:00
David Jones
ecc857a101 Replace bash-specific &> with portable equivalent. 2013-06-19 07:45:19 +01:00
David Jones
2470af64b4 Relocate stdout_file so that urchins in different directories do
not clash.
2013-06-19 07:34:07 +01:00
David Jones
feb2f1c26c Add helpful --help option and give usage on bogus options. 2013-06-18 22:21:31 +01:00
David Jones
40f9a967c3 Replace non-portable use of echo -ne with entirely lovely and
portable printf.
2013-06-18 22:11:04 +01:00
Francis Irving
dcc6addc53 BSD licence 2012-10-18 09:52:28 +01:00
Thomas Levine
0c6837cfbd blah 2012-10-11 15:47:08 -04:00
Thomas Levine
b0a0821124 rename tests 2012-10-11 15:32:07 -04:00
Thomas Levine
bbcdc9783e run urchin's tests 2012-10-11 14:57:10 -04:00
Thomas Levine
9beaa250df remove mac test 2012-10-11 14:52:39 -04:00
Thomas Levine
a9558acec0 fullpath 2012-10-11 14:50:03 -04:00
Thomas Levine
60b0c12697 rm wrong thing 2012-10-11 14:34:57 -04:00
Thomas Levine
2da1544152 tests 2012-10-11 14:34:17 -04:00
Thomas Levine
f85970e7a8 improve readlink degredation 2012-10-11 14:25:40 -04:00
Thomas Levine
10802b89df remove &>> 2012-10-11 14:00:55 -04:00
Thomas Levine
9c24cc2184 move constants 2012-10-11 02:34:20 -04:00
Thomas Levine
a5176e1262 refactor 2012-10-11 02:21:05 -04:00
Thomas Levine
f0e034b91f rename files because of the new molly guard 2012-10-11 02:03:52 -04:00
Thomas Levine
a2d7b41ca1 better dir tchecking 2012-10-11 02:02:06 -04:00
Thomas Levine
b37756d5de help 2012-10-11 01:52:29 -04:00