README.md in boojs-0.0.27 vs README.md in boojs-0.0.28

- old
+ new

@@ -29,10 +29,11 @@ #### DESCRIPTION The following options are available: * `-e` - Pass a javascript statement to execute after the file (if a file is provided) and then immediately terminate unless `-t` is set. * `-t` - Close the program after N seconds have passed, if an exception is raised before this, terminate immediately * `-v` - Verify that a file contains no javascript syntax errors. Returns 0 if there are no errors. + * `-p` - Outputs the PID of the spawned sibling process as the first line of stdout. Used for unit specs. #### EXAMPLES Open a javascript pipe that reads from stdin, writes via console.log to stdout, prints exceptions via stderr, and exits with a return code of 1 if there are errors. ```js (sh)>boojs @@ -93,20 +94,9 @@ * Does not output `console.error` to `stderr` * Changes what it considers a newline based on the attached terminal (A QT quirk) * Is not a unix tool in any sense I don't think any of this is the `PhantomJS`'s team fault; it's just not their focus or target. - -### Why would I use BooJS over my browser console? -You wouldn't, if you preferred that. *BooJS* was designed for continuous integration environments and has evolved into fun for shell scripting (i.e. `netcatesque`) and even dynamic website page analysis. Some users also prefer CLI over GUI. - -### ...Capistrano? -Capistrano is great for integration tests for behaviors; many users prefer to use both `BooJS` for the javascript layer and then `Capistrano` for behavioral testing, especially with frameworks like `cucumber`. `BooJS` is faster to boot and and more determinant than `Capistrano` while `Capistrano` is able to verify behavior across browsers and visuals. They go well togeather. - -### Why Ruby? -Ruby has many shortcomings; Nonetheless, ruby is an excellent language for writing tools in. Ruby has a culture of testing, a mature gem database that contains many *js* parsers, increadible syntax that includes N-embeddable strings within strings without ugly escape sequences, and good support for `POSIX` interfaces. - -Did you know that *WebKit* uses *Ruby* to pre-compile it's **Javascript** bytecode interpreter *LLInt*? https://trac.webkit.org/browser/releases/Apple/Safari%206.0.2/JavaScriptCore/offlineasm ### When should I use boojs? When you need to test javascript code that needs to run in a browser but don't necessarily need to test the UI components. ### What's Fittr?