1 | Changes
|
2 | =======
|
3 |
|
4 | * 29.08.2011 - v0.4.2:
|
5 | * assert.ifError now also captures a stack trace
|
6 | * Don't set a first breakpoint at the beginning of the test file when using
|
7 | --debug option
|
8 | * User can now pass a reason / message to the test.skip() function
|
9 | * Add a new 'json' coverage reporter which writes a raw JSON coverage dump to
|
10 | a file
|
11 | * Add a new `--coverage-files` option which allows user to generate aggregated
|
12 | coverage report across multiple files.
|
13 |
|
14 | * 11.07.2011 - v0.4.1:
|
15 | * Fix a bug with reporting coverage when multiple test files had the same
|
16 | name
|
17 | * Allow user to specify which tests in a test file are run using a glob
|
18 | pattern
|
19 |
|
20 | * 15.06.2011 - v0.4.0:
|
21 | * Add experimental support for attaching Node debugger to the test process
|
22 | (`--debug` option)
|
23 | * Fix a bug in `assert.response`
|
24 | * Fix a bug with exiting prematurely in the option parser on Mac OS X
|
25 | * Default Whiskey communication socket path now contains a random component
|
26 | * `--print-stdout` and `--print-stderr` options have been replaced with the
|
27 | `--quiet` option
|
28 | * The tests now run in sequential mode by default (old behavior can be
|
29 | replicated by using the `--concurrency 100` option)
|
30 | * Fix a bug in scope leak reporting
|
31 | * Fix a bug in `assert.eql`
|
32 |
|
33 | * 31.05.2011 - v0.3.4:
|
34 | * When reporting the test results print a whole path to the test file
|
35 | instead of just a file name
|
36 | * Add `--no-styles` option and only use styles and colors if the underlying
|
37 | terminal supports it
|
38 | * Don't patch `EventEmitter.on` and `EventEmitter.addListener` in the
|
39 | long-stack-traces library, because this masks original functions and breaks
|
40 | some functionality
|
41 | * Add support for skipping a test using `test.skip()` function
|
42 | * Allow user to directly pass in a list of test to run to the whiskey binary
|
43 | without using the --tests option
|
44 |
|
45 | * 17.05.2011 - v0.3.3:
|
46 | * Make test object a function and allow users to directly call this function
|
47 | to signal end of the test
|
48 | [Wade Simmons]
|
49 | * Add support for scope leaks reporting (`--scope-leaks` option)
|
50 |
|
51 | * 04.05.2011 - v0.3.2:
|
52 | * Allow user to pass in `--encoding` and `--exclude` option to jscoverage
|
53 | * When a test file times out, print the results for all the tests in this file
|
54 | which didn't time out
|
55 | * Refactor some of the internals so the results are now reported back to the
|
56 | main process after each test completes instead of reporting them back when all
|
57 | the tests in a single file complete
|
58 | * Clear the timeout and report the tests result in the child exit handler and
|
59 | not after all the tests have called `.finish()`, because it's possible that
|
60 | user calls .finish() and blocks afterwards
|
61 |
|
62 | * 02.05.2011 - v0.3.1:
|
63 | * Capture the child process stdout and stderr in the main process instead of
|
64 | monkey patching the `process.stdout` and `process.stderr` in the child
|
65 | process
|
66 |
|
67 | * 01.05.2011 - v0.3.0:
|
68 | * Refactor most of the internals to make the code more readable and more easy
|
69 | to extend
|
70 | * Communication between the main and child processes now takes place over a
|
71 | unix socket
|
72 | * Add support for "Reporter" classes
|
73 | * Remove the `--init-file` option
|
74 | * User can now specify a maximum number of async tests which will run at the
|
75 | same time (`--concurrency [NUMBER]` option)
|
76 | * Add a new "TAP" test reporter class (`--test-reporter tap`)
|
77 | * Add test coverage support with support for text and HTML output (`--coverage` option)
|
78 | * User can now specify a module with custom assertion functions which are
|
79 | attached to the `assert` object and passed to the each test function
|
80 | (`--custom-assert-module MODULE_PATH`)
|
81 |
|
82 | Note: The test format has changed and it is not backward compatible with
|
83 | Whiskey 0.2.0.
|
84 |
|
85 | Now each test gets passed in a special `test` object and a custom `assert`
|
86 | module which must be used to perform assertions.
|
87 |
|
88 | ``` javascript
|
89 | exports['test_some_func'] = function(test, assert) {
|
90 | ...
|
91 | ```
|
92 |
|
93 | * 15.04.2011 - v0.2.3:
|
94 | * Better reporting on a test file timeout
|
95 | * Properly report if a test file does not exist or some other
|
96 | uncaught exception was thrown
|
97 | * Fix a bug with output buffer not being fully flushed on exit
|
98 | on OS X
|
99 | * add --print-stdout and --print-stderr option
|
100 |
|
101 | * 30.03.2011 - v0.2.2:
|
102 | * Add timeout support to the init, setUp and tearDown function -
|
103 | if the callback passed to one of those functions is not called in
|
104 | `timeout` milliseconds, an exception is thrown and test execution
|
105 | is aborted
|
106 | * Test timeout is now properly reported as a failure
|
107 |
|
108 | * 27.03.2011 - v0.2.1:
|
109 | * Handle uncaughtExceptions better
|
110 | * Use lighter colors so test status output is more distinguishable
|
111 | * Fix bug with "cannot find module" exception not being properly reported
|
112 | * Add support for per-test file init function / file
|
113 | * Print stdout and stderr on failure
|
114 |
|
115 | * 26.03.2011 - v0.2.0
|
116 | * Add support for the failfast mode (runner exists after a first failure)
|
117 | * User can specify custom test timeout by passing in the --timeout argument
|
118 | * Add support for a setUp and tearDown function
|
119 | * Add colors to the output
|
120 | * Now each test file must export all the test functions so the runner can
|
121 | iterate over them
|
122 | * Add support for a global initialization file / function (`init` function in
|
123 | this file is run before all the tests in a main process and can perform
|
124 | some kind of global initialization)
|
125 | * Add support for `--chdir` argument
|
126 |
|
127 | * 25.03.2011 - v0.1.0
|
128 | * Initial release (refactor module out from Cast and move it into a separate
|
129 | project)
|