This brings a needed bit of sanity to the options parsing. Also, adds the following options: 1. --stderr print standard error of tests to standard error 2. --diag show diagnostics for all tests 3. --tap print the raw tap instead of the pretty stuff 4. --timeout The timeout value in seconds Fix #15 Fix #31 Fix #3
This is a combination of 4 commits. * failing test for deepEqual key order * deepEqual key order test now passes but isn't recursive yet * failing test for recursive deepEqual key order * deepEquals key sorting is now recursive, all tests pass
Commas, spacing, etc. But also: 1. Only add one object to test files, with a name that is not likely to collide, and don't alter line numbers in test files. 2. Use JSON.stringify instead of util.inspect to safely stringify objects passed into the code string.