From 0c6c56602cdf713a431617932c6047168a5799a5 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 13 Apr 2011 20:22:42 -0400 Subject: [PATCH] add note about error codes --- README.md | 8 ++++++-- index.md | 3 --- 2 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 index.md diff --git a/README.md b/README.md index cf8c83a..3348dd2 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,12 @@ This gem works with projects that have used the [Jasmine gem](https://github.com/pivotal/jasmine-gem) to create a `jasmine.yml` file that defines what to test. The runner loads that `jasmine.yml` file and executes the -tests in a Qt WebKit widget, displaying the results to the console and setting the exit code to 0 for -success or 1 for failure. +tests in a Qt WebKit widget, displaying the results to the console and setting the exit code to one +of the following: + +* 0 for success +* 1 for spec run failure +* 2 for spec run success, but `console.log` was called during the run `console.log` works, too, so you can run your specs side-by-side in a browser if you're so inclined. diff --git a/index.md b/index.md deleted file mode 100644 index 84437f8..0000000 --- a/index.md +++ /dev/null @@ -1,3 +0,0 @@ -## here - -whoa, it's headless