-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for testcase.attachments (#51)
* Added failing tests * add 'attachments' to model and fix impacted tests * junit implementation for attachments * mstest implementation for attachments * nunit implementation for attacments
- Loading branch information
1 parent
acf25c3
commit a1ba45e
Showing
19 changed files
with
345 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
declare class TestAttachment { | ||
name: string; | ||
path: string; | ||
} | ||
|
||
declare namespace TestAttachment { } | ||
|
||
export = TestAttachment; |
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,10 @@ | ||
class TestAttachment { | ||
|
||
constructor() { | ||
this.name = ''; | ||
this.path = ''; | ||
} | ||
|
||
} | ||
|
||
module.exports = TestAttachment; |
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
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,29 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<testsuites id="id" name="result name" tests="1" failures="1" errors="" time="10"> | ||
<testsuite id="testsuite" name="suite name" tests="1" failures="1" time="10"> | ||
<!-- single attachment --> | ||
<testcase id="testsuite.withattachment" name="include attachments" time="10"> | ||
<system.out>[[ATTACHMENT|/path/to/attachment.png]] | ||
</system.out> | ||
</testcase> | ||
|
||
<!-- multiple attachments--> | ||
<testcase id="testsuite.withattachmentmultiple" name="include multiple attachments" time="10"> | ||
<system.out>[[ATTACHMENT|/path/to/attachment1.png]] | ||
Other output | ||
[[ATTACHMENT|/path/to/attachment2.png]] | ||
</system.out> | ||
</testcase> | ||
|
||
<!-- no attachments --> | ||
<testcase id="testsuite.testcase" name="with no attachments" time="10"> | ||
</testcase> | ||
|
||
<!-- zero length attachments --> | ||
<testcase id="testsuite.malformedattachment" name="malformed" time="10"> | ||
<system.out>[[ATTACHMENT| ]] | ||
</system.out> | ||
</testcase> | ||
|
||
</testsuite> | ||
</testsuites> |
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
Oops, something went wrong.