-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate mocha JSON output with --matrix (#601)
- Loading branch information
Showing
12 changed files
with
243 additions
and
30 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
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 |
---|---|---|
|
@@ -14,4 +14,8 @@ contract MatrixA { | |
uint y = 5; | ||
return y; | ||
} | ||
|
||
function unhit() public { | ||
uint z = 7; | ||
} | ||
} |
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,99 @@ | ||
{ | ||
"stats": { | ||
"suites": 2, | ||
"tests": 6, | ||
"passes": 6, | ||
"pending": 0, | ||
"failures": 0 | ||
}, | ||
"tests": [ | ||
{ | ||
"title": "sends to A", | ||
"fullTitle": "Contract: Matrix A and B sends to A", | ||
"file": "test/matrix_a_b.js", | ||
"currentRetry": 0, | ||
"err": {} | ||
}, | ||
{ | ||
"title": "sends to A", | ||
"fullTitle": "Contract: Matrix A and B sends to A", | ||
"file": "test/matrix_a_b.js", | ||
"currentRetry": 0, | ||
"err": {} | ||
}, | ||
{ | ||
"title": "calls B", | ||
"fullTitle": "Contract: Matrix A and B calls B", | ||
"file": "test/matrix_a_b.js", | ||
"currentRetry": 0, | ||
"err": {} | ||
}, | ||
{ | ||
"title": "sends to B", | ||
"fullTitle": "Contract: Matrix A and B sends to B", | ||
"file": "test/matrix_a_b.js", | ||
"currentRetry": 0, | ||
"err": {} | ||
}, | ||
{ | ||
"title": "sends", | ||
"fullTitle": "Contract: MatrixA sends", | ||
"file": "test/matrix_a.js", | ||
"currentRetry": 0, | ||
"err": {} | ||
}, | ||
{ | ||
"title": "calls", | ||
"fullTitle": "Contract: MatrixA calls", | ||
"file": "test/matrix_a.js", | ||
"currentRetry": 0, | ||
"err": {} | ||
} | ||
], | ||
"failures": [], | ||
"passes": [ | ||
{ | ||
"title": "sends to A", | ||
"fullTitle": "Contract: Matrix A and B sends to A", | ||
"file": "test/matrix_a_b.js", | ||
"currentRetry": 0, | ||
"err": {} | ||
}, | ||
{ | ||
"title": "sends to A", | ||
"fullTitle": "Contract: Matrix A and B sends to A", | ||
"file": "test/matrix_a_b.js", | ||
"currentRetry": 0, | ||
"err": {} | ||
}, | ||
{ | ||
"title": "calls B", | ||
"fullTitle": "Contract: Matrix A and B calls B", | ||
"file": "test/matrix_a_b.js", | ||
"currentRetry": 0, | ||
"err": {} | ||
}, | ||
{ | ||
"title": "sends to B", | ||
"fullTitle": "Contract: Matrix A and B sends to B", | ||
"file": "test/matrix_a_b.js", | ||
"currentRetry": 0, | ||
"err": {} | ||
}, | ||
{ | ||
"title": "sends", | ||
"fullTitle": "Contract: MatrixA sends", | ||
"file": "test/matrix_a.js", | ||
"currentRetry": 0, | ||
"err": {} | ||
}, | ||
{ | ||
"title": "calls", | ||
"fullTitle": "Contract: MatrixA calls", | ||
"file": "test/matrix_a.js", | ||
"currentRetry": 0, | ||
"err": {} | ||
} | ||
] | ||
} | ||
|
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.