- Timestamp:
-
08/23/12 04:31:03 (12 years ago)
- Author:
-
Xiaochen Pan
- Comment:
-
/* Adding JSON Output to Unity */
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v11
|
v12
|
|
24 | 24 | = Adding JSON Output to Unity = |
25 | 25 | |
26 | | The Unity testing library is modified to add the json output utility. The code can be accessed via this link: https://github.com/panx/library. |
| 26 | The Unity testing library is modified to add the json output utility. |
| 27 | |
| 28 | Each test suite will generate one output file naming after the test suite. For example, the test suite TestSuite.c will generate output TestSuite.c.json. For each test case, the result is an json object which has the following structure: |
| 29 | { |
| 30 | "filename":"", |
| 31 | "functionn_name":"", |
| 32 | "linenumber":"", |
| 33 | "ignored":"", |
| 34 | "result":"", |
| 35 | "message":"" |
| 36 | } |
| 37 | |
| 38 | The code can be accessed via this link: https://github.com/panx/library. |