-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug with files=/full/path, and config=../relative/path
* ControlServer was using path.join() instead of path.resolve(). * run() hardcoded process.cwd() instead of using options.cwd. While at it: * refactor options passing to be more streamlined. * add tests for both of these bugs, which for config means adding the first integration test of the config system. * add tests for browser definitions, by definining a 'fake' browser that simply talks to the server and submits fake results without actually spawning or doing anything. This is a fast and reliable way to test everything except the browser integration, which is useful to cover on its own in a test case before the real browsers, for faster feedback, and to validate that if a test fails there, it is likely specific to one browsers and/or a real browser environment, after we've covered 99% of everything else.
- Loading branch information
Showing
9 changed files
with
153 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
TAP version 13 | ||
ok 1 Foo bar | ||
ok 2 Baz > this thing | ||
ok 3 Baz > another thing | ||
ok 4 Quux | ||
1..4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters