-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract test name and class name from test description to use in Test…
…Case In order to allow a better formatting of the junit XML result and not hardcode None into classname attribute if we can avoid it. Add also a test with test description contains '.' Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
- Loading branch information
1 parent
0cfd448
commit 0d63aff
Showing
2 changed files
with
34 additions
and
1 deletion.
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,12 @@ | ||
TAP version 13 | ||
1..9 | ||
ok 1 myplugin.module1.test1 | ||
ok 2 myplugin.module1.test2 | ||
ok 3 myplugin.module2.test1 | ||
ok 4 myplugin.module2.test2 | ||
ok 5 myplugin.module2.testSub.test1 | ||
ok 6 myplugin.module2.testSub.test2 | ||
ok 7 myplugin.test1 | ||
not ok 8 myplugin.test2 | ||
ok 9 myplugin.test3 | ||
|