1 | 1.0.5
|
2 | - remove stale jsdom dependency
|
3 |
|
4 | 1.0.4
|
5 | - log file contents on error in watch mode - 28f49f9
|
6 |
|
7 | 1.0.3
|
8 | - fix bug with gulp watch not working sometimes - 362dcb4
|
9 |
|
10 | 1.0.2
|
11 | - remove unnecessary dependencies - 4eebfd8
|
12 |
|
13 | 1.0.1
|
14 | - add start identifier for current test when in watch mode - 65ecd81
|
15 |
|
16 | 1.0.0
|
17 | - always clean out the generated test dir for each test run - a324076
|
18 |
|
19 | 0.4.6
|
20 |
|
21 | - add concole clearing in watch mode
|
22 |
|
23 | 0.4.5
|
24 |
|
25 | - add better watch error handling
|
26 |
|
27 | 0.4.4
|
28 |
|
29 | - handle multi-level test/script base - 91238c3
|
30 |
|
31 |
|
32 | 0.4.3
|
33 |
|
34 | - fix bug when js directory contains multiple segments
|
35 |
|
36 |
|
37 | 0.4.1
|
38 |
|
39 | - removed unnecessary code
|
40 |
|
41 |
|
42 | 0.4.0
|
43 |
|
44 | - added the ability to export a function call that accepts the target module and target module directory path as parameters. Below is from the README
|
45 |
|
46 | Test modules do not need the top level ```describe``` function (it will be created automatically based on file structure). You can either just have your tests directly in the file (no usage of ```module.exports```) or you can export a function callback that contains your tests. This callback accepts 2 parameters ```(targetModule, targetModuleDirectoryPath)```. For example:
|
47 |
|
48 | ```
|
49 | var targetModule = require('path/to/target/module');
|
50 | it('should ...', function() {
|
51 | expect(targetModule...).to...
|
52 | });
|
53 | ```
|
54 | or
|
55 | ```
|
56 | module.exports = function(targetModule, targetBase) {
|
57 | it('should ...', function() {
|
58 | expect(targetModule...).to...
|
59 | });
|
60 | it('should ...', function() {
|
61 | expect(require(targetBase + '/targetModuleName')...).to...
|
62 | });
|
63 | }
|
64 | ```
|
65 |
|
66 |
|
67 | 0.3.0
|
68 |
|
69 | - general code cleanup
|
70 | - changed "testFilePattern" init option to *not* include the extension. For example, a valid value might be "{name}-test"
|
71 |
|
72 |
|
73 | 0.2.0
|
74 |
|
75 | - Added ability to use a completely separate tests directory (in addition to module-relative tests)
|
76 | - Added new configuration options
|
77 | - init: init function executed once before the tests
|
78 | - testFilePattern: unit test file name pattern (use "{name}" to reference the module name; "{name}-test.js" if undefined). note: "testFileSuffix" param is no longer a valid option.
|
79 | - rootTestsDir: true if using a root tests directory and undefined/false if tests are in a directory relative to the module ([see examples](https://github.com/jhudson8/gulp-mocha-tdd/tree/master/examples))
|
80 |
|
81 | - Change configuration names
|
82 | - "scriptsDir" was changed to "scriptsDirName"
|
83 |
|
\ | No newline at end of file |