Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 221 lines (179 sloc) 8.924 kb
f655aef @Kami Move changelog into CHANGES file.
Kami authored
1 Changes
2 =======
3
69c474a @robert-chiniquy Adds an optional BDD testing idiom.
robert-chiniquy authored
4 * Add an optional, minimal BDD idiom implementation.
5 [Robert Chiniquy]
6
bbadbc8 @robert-chiniquy CHANGES wording fix
robert-chiniquy authored
7 * Send the SIGKILL signal instead of SIGTERM when killing child processes managed by the process runner.
aa54b36 @robert-chiniquy changes SIGTERM to SIGKILL for child processes.
robert-chiniquy authored
8 [Robert Chiniquy]
9
631a9ad @Kami Update CHANGES.md
Kami authored
10 * 11.05.2012 - v0.6.10:
11
12 * Add 'spy' functionality to the 'test' object.
13 [Bjorn Tipling]
14
b07561c @Kami llow user to specify "kill_script" attribute in the process runner depen...
Kami authored
15 * 06.05.2012 - v0.6.9:
16
17 * Allow user to specify "kill_script" attribute in the process runner
18 dependency file.
19 If this attribute is present, the kill_script is executed instead
20 of sending SIGTERM to the process when stopping it.
21
9268832 @Kami Update changes.
Kami authored
22 * 18.04.2012 - v0.6.8:
23
24 * Allow user to pass a comma delimited string with config paths to the
25 whiskey-process-runner binary. For example: whiskey-process-runner --config
26 tests/dependencies1.json,tests/dependencies2.json.
27 In case multiple paths are provided, Whiskey performs simple merge on all the
28 values.
29
a58e7df @Kami bump version.
Kami authored
30 * 09.02.2012 - v0.6.7:
c9967b4 @Kami Add --coverage-no-regen option.
Kami authored
31
32 * Add `--coverage-no-regen` option. If this option is used coverage won't be
33 regenerated if a `lib-cov` directory already exists in a current working
34 directory.
35
9ca3793 @Kami update changes.
Kami authored
36 * 26.01.2012 - v0.6.6:
37
38 * Add `--coverage-no-instrument` option
39 * Also support files with .java suffix when aggregating coverage. Contributed
40 by Gary Dusbabek.
41
dbca2c8 @Kami Update CHANGES.
Kami authored
42 * 08.01.2012 - v0.6.5:
43 * Modify JSON coverage reporter so it can also be used for aggregated coverage
44 output.
45
439ebea @Kami Update changes.
Kami authored
46 * 07.01.2012 - v0.6.4:
47 * Add and export installCoverageHandler function.
48
49 * Add 'available_for_coverage' option to the process runner. If a process
50 specifies this option it is sent SIGUSR2 signal when stopping it instead
51 of sending SIGTERM.
52
53 * Allow user to specify full path when using a JSON coverage reporter.
54
5711091 @Kami bump version, update changes.
Kami authored
55 * 16.12.2011 - v0.6.3:
56 * Fix a race condition when using code coverage and instrumenting the code.
57
ad94bd9 @Kami Bump version.
Kami authored
58 * 01.12.2011 - v0.6.2
59 * If an error occurs when the process runner is starting a processes,
60 propagate it to the ProcessRunner.start callback. Patch by Ken Wronkiewicz.
4ed92bb @Kami If error occurs when starting a process, propage it to the ProcesRunner....
Kami authored
61
6a947c6 @Kami Fix formatting.
Kami authored
62 * 29.11.2011 - v0.6.1
7173b2c @Kami Update changes.
Kami authored
63 * Make sure to kill the processes which have already been started by the
64 process runner if starting one of the processes fails. Reported by
65 Ryan Phillips.
66
67 * If process runner is used with Whiskey, make sure to stop all the running
68 processes if Whiskey errors out. Reported by Ryan Phillips.
69
b816fcf @Kami Update changes.
Kami authored
70 * Log an error if test.finish() has been called more then once.
71
56d43e7 @Kami Fix formatting.
Kami authored
72 * 27.11.2011 - v0.6.0:
ffd145f @Kami Update readmes.
Kami authored
73 * Add process runner and support for managing and orchestrating test
74 dependencies. More info about the process runner can be found at
75 [PROCESS_RUNNER.md](/cloudkick/whiskey/blob/master/PROCESS_RUNNER.md).
76
196e08d @Kami Update CHANGES.
Kami authored
77 * 06.11.2011 - v0.5.1:
78 * Fix a bug which caused an infinite loop in the CLI reporter if a test
79 name was too long.
80 * If `--report-timing` option is used also print aggregated run time for each
81 test file.
f1de9cd @Kami Update changes.
Kami authored
82
83 * 05.11.2011 - v0.5.0:
25d51df @Kami Update changes.
Kami authored
84 * Add `--report-timing` option which reports each test run time.
c6f0ed1 @Kami Update changes.
Kami authored
85 * If an error object has no `message` attribute, but it has `toString` method,
86 call this method and assign a returned value to the `message` attribute
b03186f @Kami Update CHANGES.
Kami authored
87 * Add `--gen-makefile` and `--makefile-path` option which allows users to generate
88 a Makefile with different Whiskey targets
f66cd77 @Kami Update changes.
Kami authored
89 * Remove all the code which modifies `require.paths` so now Whiskey also works
f1de9cd @Kami Update changes.
Kami authored
90 with node v0.5.x / v0.6.x.
f66cd77 @Kami Update changes.
Kami authored
91
92 Note: Now when using code coverage you must manually set `NODE_PATH` environment
93 variable and make sure it contains the `lib-cov` directory.
94
805c547 @Kami Update CHANGES.
Kami authored
95 * 29.08.2011 - v0.4.2:
96 * assert.ifError now also captures a stack trace
97 * Don't set a first breakpoint at the beginning of the test file when using
98 --debug option
99 * User can now pass a reason / message to the test.skip() function
100 * Add a new 'json' coverage reporter which writes a raw JSON coverage dump to
101 a file
102 * Add a new `--coverage-files` option which allows user to generate aggregated
103 coverage report across multiple files.
104
4e702b1 @Kami Update changes.
Kami authored
105 * 11.07.2011 - v0.4.1:
106 * Fix a bug with reporting coverage when multiple test files had the same
107 name
108 * Allow user to specify which tests in a test file are run using a glob
109 pattern
110
ea6433a @Kami Update changes and readme.
Kami authored
111 * 15.06.2011 - v0.4.0:
112 * Add experimental support for attaching Node debugger to the test process
113 (`--debug` option)
114 * Fix a bug in `assert.response`
a6be303 @Kami Update changes.
Kami authored
115 * Fix a bug with exiting prematurely in the option parser on Mac OS X
116 * Default Whiskey communication socket path now contains a random component
117 * `--print-stdout` and `--print-stderr` options have been replaced with the
118 `--quiet` option
ea6433a @Kami Update changes and readme.
Kami authored
119 * The tests now run in sequential mode by default (old behavior can be
120 replicated by using the `--concurrency 100` option)
a6be303 @Kami Update changes.
Kami authored
121 * Fix a bug in scope leak reporting
ea6433a @Kami Update changes and readme.
Kami authored
122 * Fix a bug in `assert.eql`
a6be303 @Kami Update changes.
Kami authored
123
7c3ded9 @Kami Update changes and version string.
Kami authored
124 * 31.05.2011 - v0.3.4:
125 * When reporting the test results print a whole path to the test file
f655aef @Kami Move changelog into CHANGES file.
Kami authored
126 instead of just a file name
7c3ded9 @Kami Update changes and version string.
Kami authored
127 * Add `--no-styles` option and only use styles and colors if the underlying
128 terminal supports it
129 * Don't patch `EventEmitter.on` and `EventEmitter.addListener` in the
130 long-stack-traces library, because this masks original functions and breaks
131 some functionality
501deea @Kami Update CHANGES.
Kami authored
132 * Add support for skipping a test using `test.skip()` function
133 * Allow user to directly pass in a list of test to run to the whiskey binary
134 without using the --tests option
f655aef @Kami Move changelog into CHANGES file.
Kami authored
135
136 * 17.05.2011 - v0.3.3:
137 * Make test object a function and allow users to directly call this function
138 to signal end of the test
139 [Wade Simmons]
140 * Add support for scope leaks reporting (`--scope-leaks` option)
141
142 * 04.05.2011 - v0.3.2:
143 * Allow user to pass in `--encoding` and `--exclude` option to jscoverage
144 * When a test file times out, print the results for all the tests in this file
145 which didn't time out
146 * Refactor some of the internals so the results are now reported back to the
147 main process after each test completes instead of reporting them back when all
148 the tests in a single file complete
149 * Clear the timeout and report the tests result in the child exit handler and
150 not after all the tests have called `.finish()`, because it's possible that
151 user calls .finish() and blocks afterwards
152
153 * 02.05.2011 - v0.3.1:
154 * Capture the child process stdout and stderr in the main process instead of
155 monkey patching the `process.stdout` and `process.stderr` in the child
156 process
157
158 * 01.05.2011 - v0.3.0:
159 * Refactor most of the internals to make the code more readable and more easy
160 to extend
161 * Communication between the main and child processes now takes place over a
162 unix socket
163 * Add support for "Reporter" classes
164 * Remove the `--init-file` option
165 * User can now specify a maximum number of async tests which will run at the
166 same time (`--concurrency [NUMBER]` option)
167 * Add a new "TAP" test reporter class (`--test-reporter tap`)
168 * Add test coverage support with support for text and HTML output (`--coverage` option)
169 * User can now specify a module with custom assertion functions which are
170 attached to the `assert` object and passed to the each test function
171 (`--custom-assert-module MODULE_PATH`)
172
173 Note: The test format has changed and it is not backward compatible with
174 Whiskey 0.2.0.
175
176 Now each test gets passed in a special `test` object and a custom `assert`
177 module which must be used to perform assertions.
178
179 ``` javascript
180 exports['test_some_func'] = function(test, assert) {
181 ...
182 ```
183
184 * 15.04.2011 - v0.2.3:
185 * Better reporting on a test file timeout
186 * Properly report if a test file does not exist or some other
187 uncaught exception was thrown
188 * Fix a bug with output buffer not being fully flushed on exit
189 on OS X
190 * add --print-stdout and --print-stderr option
191
192 * 30.03.2011 - v0.2.2:
193 * Add timeout support to the init, setUp and tearDown function -
194 if the callback passed to one of those functions is not called in
195 `timeout` milliseconds, an exception is thrown and test execution
196 is aborted
197 * Test timeout is now properly reported as a failure
198
199 * 27.03.2011 - v0.2.1:
200 * Handle uncaughtExceptions better
201 * Use lighter colors so test status output is more distinguishable
202 * Fix bug with "cannot find module" exception not being properly reported
203 * Add support for per-test file init function / file
204 * Print stdout and stderr on failure
205
206 * 26.03.2011 - v0.2.0
207 * Add support for the failfast mode (runner exists after a first failure)
208 * User can specify custom test timeout by passing in the --timeout argument
209 * Add support for a setUp and tearDown function
210 * Add colors to the output
211 * Now each test file must export all the test functions so the runner can
212 iterate over them
213 * Add support for a global initialization file / function (`init` function in
214 this file is run before all the tests in a main process and can perform
215 some kind of global initialization)
216 * Add support for `--chdir` argument
217
218 * 25.03.2011 - v0.1.0
219 * Initial release (refactor module out from Cast and move it into a separate
220 project)
Something went wrong with that request. Please try again.