From e0bf1b371e5a5312441a71a106e2cf523ea28e08 Mon Sep 17 00:00:00 2001 From: agracio Date: Wed, 13 Nov 2024 21:34:15 +0000 Subject: [PATCH] updating code --- .github/workflows/main.yml | 13 +- README.md | 16 ++- src/junit.js | 122 +++++++++--------- src/trx-junit.xslt | 4 +- tests/converter.trx.test.js | 2 +- .../trx-mstest-datadriven-mochawesome.json | 38 +++--- .../result/trx-mstest-ignore-mochawesome.json | 30 ++--- tests/data/result/trx-mstest-mochawesome.json | 66 +++++----- .../trx-nunit-datadriven-mochawesome.json | 38 +++--- .../result/trx-nunit-ignore-mochawesome.json | 38 +++--- tests/data/result/trx-nunit-mochawesome.json | 116 ++++++++--------- .../trx-xunit-datadriven-mochawesome.json | 34 ++--- .../result/trx-xunit-ignore-mochawesome.json | 28 ++-- tests/data/result/trx-xunit-mochawesome.json | 102 +++++++-------- 14 files changed, 321 insertions(+), 326 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2934b20..63f94e9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: name: test-${{ matrix.os }} strategy: matrix: - os: [macos-13, macos-latest, ubuntu-latest] + os: [macos-latest, ubuntu-latest] steps: - name: Checkout code uses: actions/checkout@v4 @@ -41,7 +41,7 @@ jobs: cache-name: cache-node-modules with: path: node_modules - key: ${{ matrix.os }}${{ hashFiles('package-lock.json') }} + key: ${{ matrix.os }}-${{ hashFiles('package-lock.json') }} - name: npm install run: npm i @@ -58,12 +58,3 @@ jobs: # test-results.xml # mochawesome.json # -# - name: Test Report -# uses: phoenix-actions/test-reporting@v15 -# if: success() -# with: -# name: test-results-${{ matrix.os }}-node-${{ matrix.node }} -# fail-on-error: true -# path: mochawesome.json # Path to test results -# reporter: mochawesome-json - diff --git a/README.md b/README.md index 8889a83..ef15916 100644 --- a/README.md +++ b/README.md @@ -39,11 +39,13 @@ https://github.com/adamgruber/mochawesome ### Conversion process - All test reports except JUnit are first converted to JUnit format using XSLT. - - Set `junit` option to `true` if you want to review JUnit conversion results. + - TRX files undergo additional processing to enhance JUnit output. + - Set `junit` option to `true` to get JUnit conversion results. ### All test types - Converts <skipped> test messages to Mochawesome test context values. +- Converts <properties>, <system-out> and <system-err> to Mochawesome context values. - Converts <failure> and <error> elements to Mochawesome error stack. - Test suites are displayed in alphabetical order by `file` and `classname` attributes. - Tests suites without any tests are excluded from Mochawesome and JUnit. @@ -52,7 +54,7 @@ https://github.com/adamgruber/mochawesome ### JUnit - Converts `testcase` **<properties>**, **<system-out>** and **<system-err>** elements to Mochawesome test context. -- Nested tests and test suites currently not supported. +- Nested test suites currently not supported. ### NUnit @@ -74,8 +76,9 @@ https://github.com/adamgruber/mochawesome - Converts `Output/ErrorInfo/StackTrace` to JUnit **<failure>** stack trace. - Converts `Output/StdErr` to JUnit **<system-err>**. - Converts `Output/StdOut` to JUnit **<system-out>**. -- Tests are ordered by name in Mochawesome. -- Does not resolve test suite times in JUnit output. +- Test suites are split into multiple **<testsuite>** elements by test classname. +- Tests are ordered by name. +- Test suit times are not 100% accurate - displayed as a sum() of all test times. ### Usage @@ -112,14 +115,15 @@ convert(options).then(() => console.log(`Report created: ${options.reportDir}/${ - `testFile` - relative or absolute path to input test file. - `testType` - type of test report, not case-sensitive. - `reportDir` - will be created if path does not exist. -- `skippedAsPending` - Mocha always reports skipped tests as pending and this is default behaviour of converter. Set to `false` to display tests as skipped. +- `skippedAsPending` - Mocha always reports skipped tests as pending and this is default behaviour of converter. + Set to `false` to display tests as skipped. #### Supported `testType` options. | `testType` | File Type | |:-----------|:------------------| | JUnit | JUnit | -| NUnit | NUnit 3.0+ XML | +| NUnit | NUnit 3+ XML | | xUnit | xUnit.net v2+ XML | | TRX | Visual Studio TRX | diff --git a/src/junit.js b/src/junit.js index 624c5a2..5c74be6 100644 --- a/src/junit.js +++ b/src/junit.js @@ -10,8 +10,60 @@ let skippedTests = 0; let failedTests = 0; let suites = []; -function parseTrx(){ +/** +* @param {ConverterOptions} options +* @param {any} json +* @returns {any} +*/ +function parseTrx(options, json){ + + json.testsuites[0].testsuite[0].testcase = _.sortBy(json.testsuites[0].testsuite[0].testcase, ['classname' ,'name']); + + let classnames = _.map(json.testsuites[0].testsuite[0].testcase, 'classname') + .filter((value, index, array) => array.indexOf(value) === index); + + classnames = _.sortBy(classnames, [function(o) { return o; }]); + + let time = _.sumBy(json.testsuites[0].testsuite, suite => _.sumBy(suite.testcase, function(testCase) { return Number(testCase.time); })); + + json.testsuites[0].time = time; + json.testsuites[0].testsuite[0].time = time; + if(classnames.length > 1){ + + let testSuites = []; + classnames.forEach((classname) => { + + let testcases = _.filter(json.testsuites[0].testsuite[0].testcase, { 'classname': classname}); + let time = _.sumBy(testcases, function(testCase) { return Number(testCase.time); }); + const failures = testcases.filter((testCase) => testCase.status === 'Failed').length; + const skipped = testcases.filter((testCase) => testCase.status === 'Skipped').length; + + testSuites.push( + { + name: classname, + tests: `${testcases.length}`, + failures: `${failures}`, + skipped: `${skipped}`, + time: `${time}`, + testcase: testcases, + } + ); + }); + + json.testsuites[0].testsuite = testSuites; + } + + else{ + json.testsuites[0].testsuite[0].time = time; + json.testsuites[0].testsuite[0].name = json.testsuites[0].testsuite[0].testcase[0].classname; + } + + if(options.junit){ + fs.writeFileSync(path.join(options.reportDir, options.junitReportFilename), xmlFormat(parser.toXml(json), {forceSelfClosingEmptyTag: true}), 'utf8'); + } + + return json; } /** @@ -42,8 +94,11 @@ function parseXml(options, xml){ json.testsuites = [{testsuite: json.testsuite}]; delete json['testsuite']; } - else{ - throw `\nCould not find valid or element in converted ${options.testFile}`; + if(json && json.testsuites && json.testsuites.length && json.testsuites.length === 0){ + console.log('No test suites found, skipping Mochawesome file creation.'); + } + else if(!json || !json.testsuites || !json.testsuites.length){ + throw `\nCould not find valid or root element in converted ${options.testFile}`; } } @@ -52,17 +107,8 @@ function parseXml(options, xml){ fs.writeFileSync(path.join(options.reportDir, fileName), JSON.stringify(json, null, 2), 'utf8'); } - // if(options.saveIntermediateFiles){ - // let jsonString = JSON.stringify(json, null, 2).replaceAll(' ', '').replaceAll(' ', ''); - // - // json = JSON.parse(jsonString); - // let fileName = `${path.parse(options.testFile).name}-converted.xml`; - // fs.writeFileSync(path.join(options.reportDir, fileName), xmlFormat(parser.toXml(json), {forceSelfClosingEmptyTag: true}), 'utf8'); - // - // } - - if(!json.testsuites[0].testsuite){ - throw `\nNo elements in element in converted ${options.testFile}`; + if(!json.testsuites[0].testsuite || !json.testsuites[0].testsuite.length || json.testsuites[0].testsuite.length ===0){ + console.log('No test suites found, skipping Mochawesome file creation.'); } // sort test suites @@ -78,53 +124,7 @@ function parseXml(options, xml){ } if(options.testType === 'trx' && json.testsuites[0].testsuite[0].testcase.length !== 0){ - - json.testsuites[0].testsuite[0].testcase = _.sortBy(json.testsuites[0].testsuite[0].testcase, ['name']); - - let classnames = _.map(json.testsuites[0].testsuite[0].testcase, 'classname') - .filter((value, index, array) => array.indexOf(value) === index); - - classnames = _.sortBy(classnames, [function(o) { return o; }]); - - let time = _.sumBy(json.testsuites[0].testsuite, suite => _.sumBy(suite.testcase, function(testCase) { return Number(testCase.time); })); - - json.testsuites[0].time = time; - json.testsuites[0].testsuite[0].time = time; - - if(classnames.length > 1){ - - let testSuites = []; - classnames.forEach((classname) => { - - let testcases = _.filter(json.testsuites[0].testsuite[0].testcase, { 'classname': classname}); - let time = _.sumBy(testcases, function(testCase) { return Number(testCase.time); }); - const failures = testcases.filter((testCase) => testCase.status === 'Failed').length; - const skipped = testcases.filter((testCase) => testCase.status === 'Skipped').length; - - testSuites.push( - { - name: classname, - tests: `${testcases.length}`, - failures: `${failures}`, - skipped: `${skipped}`, - time: `${time}`, - testcase: testcases, - } - ); - }); - - json.testsuites[0].testsuite = testSuites; - } - - else{ - json.testsuites[0].testsuite[0].time = time; - json.testsuites[0].testsuite[0].name = json.testsuites[0].testsuite[0].testcase[0].classname; - - } - - if(options.junit){ - fs.writeFileSync(path.join(options.reportDir, options.junitReportFilename), xmlFormat(parser.toXml(json), {forceSelfClosingEmptyTag: true}), 'utf8'); - } + json = parseTrx(options, json); } return json.testsuites[0]; diff --git a/src/trx-junit.xslt b/src/trx-junit.xslt index e182e74..fe9f821 100644 --- a/src/trx-junit.xslt +++ b/src/trx-junit.xslt @@ -59,8 +59,8 @@ - - + + diff --git a/tests/converter.trx.test.js b/tests/converter.trx.test.js index 14b5039..ccaa2b8 100644 --- a/tests/converter.trx.test.js +++ b/tests/converter.trx.test.js @@ -8,7 +8,7 @@ const describe = require('@jest/globals').describe; const setup = require('./setup'); const converter = require('../src/converter'); -describe.only("TRX converter tests", () => { +describe("TRX converter tests", () => { beforeAll(() => { setup.removeTempDir(); diff --git a/tests/data/result/trx-mstest-datadriven-mochawesome.json b/tests/data/result/trx-mstest-datadriven-mochawesome.json index ab729f9..fc8c784 100644 --- a/tests/data/result/trx-mstest-datadriven-mochawesome.json +++ b/tests/data/result/trx-mstest-datadriven-mochawesome.json @@ -16,7 +16,7 @@ }, "results": [ { - "uuid": "ca4e8d53-07a4-4095-9467-f3fe651b7647", + "uuid": "d5e11b20-37c0-443a-9b20-5328702a0e82", "title": "", "fullFile": "", "file": "", @@ -25,7 +25,7 @@ "tests": [], "suites": [ { - "uuid": "933cb7c7-61ec-45c3-9498-876edcdf2f3f", + "uuid": "d7132400-d019-4ae5-9742-d7704fe5111a", "title": "MsTestSample.DataDriven", "file": "", "beforeHooks": [], @@ -44,11 +44,11 @@ "code": null, "err": { "message": "Assert.Fail failed. Failing for demo purposes", - "estack": "at MsTestSample.DataDriven.Failing_test() in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\MsTestSample\\DataDriven.cs:line 25\n", + "estack": "at MsTestSample.DataDriven.Failing_test() in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\MsTestSample\\DataDriven.cs:line 25", "diff": null }, - "uuid": "bdbafc09-acba-42dc-87ad-b6b3a1cac70c", - "parentUUID": "933cb7c7-61ec-45c3-9498-876edcdf2f3f", + "uuid": "67131c07-9855-486e-b448-a02ab66d59bc", + "parentUUID": "d7132400-d019-4ae5-9742-d7704fe5111a", "isHook": false, "skipped": false }, @@ -64,8 +64,8 @@ "context": null, "code": null, "err": {}, - "uuid": "fce746fd-7f78-4efb-967b-27ba7e7256c0", - "parentUUID": "933cb7c7-61ec-45c3-9498-876edcdf2f3f", + "uuid": "09b49361-a256-4295-bf86-17cec2e6ab4a", + "parentUUID": "d7132400-d019-4ae5-9742-d7704fe5111a", "isHook": false, "skipped": false }, @@ -81,8 +81,8 @@ "context": null, "code": null, "err": {}, - "uuid": "a126d245-fcd5-491f-b6d5-d3c709f95105", - "parentUUID": "933cb7c7-61ec-45c3-9498-876edcdf2f3f", + "uuid": "15171883-7cb1-4819-9fce-d7a714d65b36", + "parentUUID": "d7132400-d019-4ae5-9742-d7704fe5111a", "isHook": false, "skipped": false }, @@ -99,11 +99,11 @@ "code": null, "err": { "message": "Assert.Fail failed. Failing for demo purposes", - "estack": "at MsTestSample.DataDriven.Two_pass_one_fails(Int32 arg) in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\MsTestSample\\DataDriven.cs:line 16\n", + "estack": "at MsTestSample.DataDriven.Two_pass_one_fails(Int32 arg) in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\MsTestSample\\DataDriven.cs:line 16", "diff": null }, - "uuid": "478a767f-f510-47d3-a2bb-7c77bbf0e3fc", - "parentUUID": "933cb7c7-61ec-45c3-9498-876edcdf2f3f", + "uuid": "e2a746b5-7384-4601-afbf-dcd08c88441a", + "parentUUID": "d7132400-d019-4ae5-9742-d7704fe5111a", "isHook": false, "skipped": false }, @@ -119,21 +119,21 @@ "context": null, "code": null, "err": {}, - "uuid": "c3949b19-32b3-4092-89fd-18e4e5ac9254", - "parentUUID": "933cb7c7-61ec-45c3-9498-876edcdf2f3f", + "uuid": "f011c430-db85-4cae-b771-27c116259e9e", + "parentUUID": "d7132400-d019-4ae5-9742-d7704fe5111a", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "fce746fd-7f78-4efb-967b-27ba7e7256c0", - "a126d245-fcd5-491f-b6d5-d3c709f95105", - "c3949b19-32b3-4092-89fd-18e4e5ac9254" + "09b49361-a256-4295-bf86-17cec2e6ab4a", + "15171883-7cb1-4819-9fce-d7a714d65b36", + "f011c430-db85-4cae-b771-27c116259e9e" ], "failures": [ - "bdbafc09-acba-42dc-87ad-b6b3a1cac70c", - "478a767f-f510-47d3-a2bb-7c77bbf0e3fc" + "67131c07-9855-486e-b448-a02ab66d59bc", + "e2a746b5-7384-4601-afbf-dcd08c88441a" ], "pending": [], "skipped": [], diff --git a/tests/data/result/trx-mstest-ignore-mochawesome.json b/tests/data/result/trx-mstest-ignore-mochawesome.json index 20a598e..83440fd 100644 --- a/tests/data/result/trx-mstest-ignore-mochawesome.json +++ b/tests/data/result/trx-mstest-ignore-mochawesome.json @@ -16,7 +16,7 @@ }, "results": [ { - "uuid": "5bfacde0-6678-4e02-be65-cb8b3e101a63", + "uuid": "02323a8a-7dab-49fd-a714-9e785db279a8", "title": "", "fullFile": "", "file": "", @@ -25,7 +25,7 @@ "tests": [], "suites": [ { - "uuid": "8325ba23-0a67-444d-a926-cb4d40cf94ae", + "uuid": "cfdd10e9-7272-447a-859f-aff3a23e8f9b", "title": "MsTestSample.SimpleTests", "file": "", "beforeHooks": [], @@ -44,11 +44,11 @@ "code": null, "err": { "message": "Assert.Fail failed. Failing for demo purposes", - "estack": "at MsTestSample.SimpleTests.Failing_test() in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\MsTestSample\\SimpleTests.cs:line 20\n", + "estack": "at MsTestSample.SimpleTests.Failing_test() in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\MsTestSample\\SimpleTests.cs:line 20", "diff": null }, - "uuid": "ebbb254d-c704-4523-8941-d874b5b09f34", - "parentUUID": "8325ba23-0a67-444d-a926-cb4d40cf94ae", + "uuid": "0631a80b-0091-400e-ae05-62fa8a71231e", + "parentUUID": "cfdd10e9-7272-447a-859f-aff3a23e8f9b", "isHook": false, "skipped": false }, @@ -64,8 +64,8 @@ "context": "[\"skipped: Ignoring for testing ;-)\"]", "code": null, "err": {}, - "uuid": "46214756-ce84-426a-a7ca-dd743c179cc9", - "parentUUID": "8325ba23-0a67-444d-a926-cb4d40cf94ae", + "uuid": "8f6d5c6b-c51a-4213-8273-f84d238f236c", + "parentUUID": "cfdd10e9-7272-447a-859f-aff3a23e8f9b", "isHook": false, "skipped": false }, @@ -81,8 +81,8 @@ "context": null, "code": null, "err": {}, - "uuid": "c9989c6b-bd33-4983-8098-6cd452e9437c", - "parentUUID": "8325ba23-0a67-444d-a926-cb4d40cf94ae", + "uuid": "8beee494-bd7c-442c-a24b-f767b6dbf581", + "parentUUID": "cfdd10e9-7272-447a-859f-aff3a23e8f9b", "isHook": false, "skipped": false }, @@ -98,22 +98,22 @@ "context": null, "code": null, "err": {}, - "uuid": "49ccd87d-09b4-49cf-ae9d-d6ec0344f029", - "parentUUID": "8325ba23-0a67-444d-a926-cb4d40cf94ae", + "uuid": "b739bdb0-563e-4678-b51b-491589b357fa", + "parentUUID": "cfdd10e9-7272-447a-859f-aff3a23e8f9b", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "c9989c6b-bd33-4983-8098-6cd452e9437c", - "49ccd87d-09b4-49cf-ae9d-d6ec0344f029" + "8beee494-bd7c-442c-a24b-f767b6dbf581", + "b739bdb0-563e-4678-b51b-491589b357fa" ], "failures": [ - "ebbb254d-c704-4523-8941-d874b5b09f34" + "0631a80b-0091-400e-ae05-62fa8a71231e" ], "pending": [ - "46214756-ce84-426a-a7ca-dd743c179cc9" + "8f6d5c6b-c51a-4213-8273-f84d238f236c" ], "skipped": [], "duration": 1038, diff --git a/tests/data/result/trx-mstest-mochawesome.json b/tests/data/result/trx-mstest-mochawesome.json index 989e5d0..fdb6563 100644 --- a/tests/data/result/trx-mstest-mochawesome.json +++ b/tests/data/result/trx-mstest-mochawesome.json @@ -16,7 +16,7 @@ }, "results": [ { - "uuid": "43c2db80-5a5d-44ef-af7e-544e0284014f", + "uuid": "3bce5cde-fc42-469b-a9a5-3ab3edc47c78", "title": "", "fullFile": "", "file": "", @@ -25,7 +25,7 @@ "tests": [], "suites": [ { - "uuid": "7a5dffe6-3874-43cb-b791-d7edcc10c793", + "uuid": "4d33b0fb-6cbf-4b15-881b-f01adef81d6e", "title": "MsTestSample.DataDriven", "file": "", "beforeHooks": [], @@ -44,11 +44,11 @@ "code": null, "err": { "message": "Assert.Fail failed. Failing for demo purposes", - "estack": "at MsTestSample.DataDriven.Failing_test() in C:\\projects\\trx2junit\\samples\\MsTestSample\\DataDriven.cs:line 25\n\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)\n", + "estack": "at MsTestSample.DataDriven.Failing_test() in C:\\projects\\trx2junit\\samples\\MsTestSample\\DataDriven.cs:line 25\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)", "diff": null }, - "uuid": "cadf2d76-c740-4bc1-aa4c-5e4823d53704", - "parentUUID": "7a5dffe6-3874-43cb-b791-d7edcc10c793", + "uuid": "ba9a3c92-353e-4ca9-948a-369f7889043f", + "parentUUID": "4d33b0fb-6cbf-4b15-881b-f01adef81d6e", "isHook": false, "skipped": false }, @@ -64,8 +64,8 @@ "context": null, "code": null, "err": {}, - "uuid": "264d14b7-e130-480f-925b-1fec730d2056", - "parentUUID": "7a5dffe6-3874-43cb-b791-d7edcc10c793", + "uuid": "a75a603b-d1b1-4f5f-8953-30ce0c5a0daf", + "parentUUID": "4d33b0fb-6cbf-4b15-881b-f01adef81d6e", "isHook": false, "skipped": false }, @@ -81,8 +81,8 @@ "context": null, "code": null, "err": {}, - "uuid": "d903755c-ce27-4ef9-b319-b92f0217f290", - "parentUUID": "7a5dffe6-3874-43cb-b791-d7edcc10c793", + "uuid": "ff5e1f51-21ad-46a4-9ba0-463d7dc785de", + "parentUUID": "4d33b0fb-6cbf-4b15-881b-f01adef81d6e", "isHook": false, "skipped": false }, @@ -99,11 +99,11 @@ "code": null, "err": { "message": "Assert.Fail failed. Failing for demo purposes", - "estack": "at MsTestSample.DataDriven.Two_pass_one_fails(Int32 arg) in C:\\projects\\trx2junit\\samples\\MsTestSample\\DataDriven.cs:line 16\n\n at InvokeStub_DataDriven.Two_pass_one_fails(Object, Span`1)\n\n at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\n", + "estack": "at MsTestSample.DataDriven.Two_pass_one_fails(Int32 arg) in C:\\projects\\trx2junit\\samples\\MsTestSample\\DataDriven.cs:line 16\n at InvokeStub_DataDriven.Two_pass_one_fails(Object, Span`1)\n at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)", "diff": null }, - "uuid": "133a378c-dc11-436c-8cc8-115601b31ea5", - "parentUUID": "7a5dffe6-3874-43cb-b791-d7edcc10c793", + "uuid": "61a33bb3-baa6-4276-99db-903649087fba", + "parentUUID": "4d33b0fb-6cbf-4b15-881b-f01adef81d6e", "isHook": false, "skipped": false }, @@ -119,21 +119,21 @@ "context": null, "code": null, "err": {}, - "uuid": "25b127dc-8354-4b96-90a0-ccc95dede296", - "parentUUID": "7a5dffe6-3874-43cb-b791-d7edcc10c793", + "uuid": "b664da20-a215-48c7-8b18-81bb72365407", + "parentUUID": "4d33b0fb-6cbf-4b15-881b-f01adef81d6e", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "264d14b7-e130-480f-925b-1fec730d2056", - "d903755c-ce27-4ef9-b319-b92f0217f290", - "25b127dc-8354-4b96-90a0-ccc95dede296" + "a75a603b-d1b1-4f5f-8953-30ce0c5a0daf", + "ff5e1f51-21ad-46a4-9ba0-463d7dc785de", + "b664da20-a215-48c7-8b18-81bb72365407" ], "failures": [ - "cadf2d76-c740-4bc1-aa4c-5e4823d53704", - "133a378c-dc11-436c-8cc8-115601b31ea5" + "ba9a3c92-353e-4ca9-948a-369f7889043f", + "61a33bb3-baa6-4276-99db-903649087fba" ], "pending": [], "skipped": [], @@ -143,7 +143,7 @@ "_timeout": 10000 }, { - "uuid": "5acb9fda-7db2-4a7b-a887-929884117ad6", + "uuid": "acd14821-bdf3-4121-a1f2-0a0fc8a4044f", "title": "MsTestSample.SimpleTests", "file": "", "beforeHooks": [], @@ -162,11 +162,11 @@ "code": null, "err": { "message": "Assert.Fail failed. Failing for demo purposes", - "estack": "at MsTestSample.SimpleTests.Failing_test() in C:\\projects\\trx2junit\\samples\\MsTestSample\\SimpleTests.cs:line 20\n\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)\n", + "estack": "at MsTestSample.SimpleTests.Failing_test() in C:\\projects\\trx2junit\\samples\\MsTestSample\\SimpleTests.cs:line 20\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)", "diff": null }, - "uuid": "3d3f5a62-1856-4154-890c-332ebee2fba7", - "parentUUID": "5acb9fda-7db2-4a7b-a887-929884117ad6", + "uuid": "eb926280-b18b-42eb-9176-6d6aa04b6d25", + "parentUUID": "acd14821-bdf3-4121-a1f2-0a0fc8a4044f", "isHook": false, "skipped": false }, @@ -182,8 +182,8 @@ "context": "[\"skipped: Ignoring for testing ;-)\"]", "code": null, "err": {}, - "uuid": "b5394269-55a4-4e19-9095-fcb991be0d29", - "parentUUID": "5acb9fda-7db2-4a7b-a887-929884117ad6", + "uuid": "e5b87d4f-c654-4289-9e5a-031b4c090a04", + "parentUUID": "acd14821-bdf3-4121-a1f2-0a0fc8a4044f", "isHook": false, "skipped": false }, @@ -199,8 +199,8 @@ "context": null, "code": null, "err": {}, - "uuid": "0a9975cd-35c5-4c92-a23a-015272ebed72", - "parentUUID": "5acb9fda-7db2-4a7b-a887-929884117ad6", + "uuid": "3281b294-211b-4442-b86d-85b34018b15a", + "parentUUID": "acd14821-bdf3-4121-a1f2-0a0fc8a4044f", "isHook": false, "skipped": false }, @@ -216,22 +216,22 @@ "context": null, "code": null, "err": {}, - "uuid": "89f783cc-e982-42d2-b4d3-4a06a133d8cf", - "parentUUID": "5acb9fda-7db2-4a7b-a887-929884117ad6", + "uuid": "76d84f40-315e-48bf-bfd2-b0d95b624932", + "parentUUID": "acd14821-bdf3-4121-a1f2-0a0fc8a4044f", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "0a9975cd-35c5-4c92-a23a-015272ebed72", - "89f783cc-e982-42d2-b4d3-4a06a133d8cf" + "3281b294-211b-4442-b86d-85b34018b15a", + "76d84f40-315e-48bf-bfd2-b0d95b624932" ], "failures": [ - "3d3f5a62-1856-4154-890c-332ebee2fba7" + "eb926280-b18b-42eb-9176-6d6aa04b6d25" ], "pending": [ - "b5394269-55a4-4e19-9095-fcb991be0d29" + "e5b87d4f-c654-4289-9e5a-031b4c090a04" ], "skipped": [], "duration": 1014, diff --git a/tests/data/result/trx-nunit-datadriven-mochawesome.json b/tests/data/result/trx-nunit-datadriven-mochawesome.json index f1937a7..0a3de05 100644 --- a/tests/data/result/trx-nunit-datadriven-mochawesome.json +++ b/tests/data/result/trx-nunit-datadriven-mochawesome.json @@ -16,7 +16,7 @@ }, "results": [ { - "uuid": "751523db-34cd-406f-91ff-b32dc3030a13", + "uuid": "ce52cd34-79a8-4af4-a8f0-d8e0afcddbbf", "title": "", "fullFile": "", "file": "", @@ -25,7 +25,7 @@ "tests": [], "suites": [ { - "uuid": "43ad1a56-368b-4402-9424-e3dd2a3e2a9b", + "uuid": "354f86dc-683f-491b-a5c0-13be7e3f41d1", "title": "NUnitSample.DataDriven", "file": "", "beforeHooks": [], @@ -44,11 +44,11 @@ "code": null, "err": { "message": "Failing for demo purposes", - "estack": "at NUnitSample.DataDriven.Failing_test() in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\NUnitSample\\DataDriven.cs:line 27\n", + "estack": "at NUnitSample.DataDriven.Failing_test() in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\NUnitSample\\DataDriven.cs:line 27", "diff": null }, - "uuid": "9056a5ce-8fb8-4683-b051-c9d09d00c3e6", - "parentUUID": "43ad1a56-368b-4402-9424-e3dd2a3e2a9b", + "uuid": "3ad8d84a-a83a-4f36-8b28-fa7bb9deb731", + "parentUUID": "354f86dc-683f-491b-a5c0-13be7e3f41d1", "isHook": false, "skipped": false }, @@ -64,8 +64,8 @@ "context": null, "code": null, "err": {}, - "uuid": "8db56492-8387-4bb3-86d0-49e28651d121", - "parentUUID": "43ad1a56-368b-4402-9424-e3dd2a3e2a9b", + "uuid": "49e33ee8-4f36-48cd-8051-f0792f81d207", + "parentUUID": "354f86dc-683f-491b-a5c0-13be7e3f41d1", "isHook": false, "skipped": false }, @@ -81,8 +81,8 @@ "context": null, "code": null, "err": {}, - "uuid": "c87ccecb-293e-48e8-b84b-5c6584c2e0ef", - "parentUUID": "43ad1a56-368b-4402-9424-e3dd2a3e2a9b", + "uuid": "55b273c7-12a9-40e6-a876-01c753bdaf33", + "parentUUID": "354f86dc-683f-491b-a5c0-13be7e3f41d1", "isHook": false, "skipped": false }, @@ -99,11 +99,11 @@ "code": null, "err": { "message": "Failing for demo purposes", - "estack": "at NUnitSample.DataDriven.Two_pass_one_fails(Int32 arg) in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\NUnitSample\\DataDriven.cs:line 18\n", + "estack": "at NUnitSample.DataDriven.Two_pass_one_fails(Int32 arg) in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\NUnitSample\\DataDriven.cs:line 18", "diff": null }, - "uuid": "f26b1e02-ba57-4ea3-a9f2-5cc3ad5a8212", - "parentUUID": "43ad1a56-368b-4402-9424-e3dd2a3e2a9b", + "uuid": "6d8f7d50-60b4-4f23-a507-090ed962f58d", + "parentUUID": "354f86dc-683f-491b-a5c0-13be7e3f41d1", "isHook": false, "skipped": false }, @@ -119,21 +119,21 @@ "context": null, "code": null, "err": {}, - "uuid": "306fbc91-c2d8-4879-9da2-de619c42f048", - "parentUUID": "43ad1a56-368b-4402-9424-e3dd2a3e2a9b", + "uuid": "a1eb3a7b-0818-46a8-8d18-1ab5b3a09b97", + "parentUUID": "354f86dc-683f-491b-a5c0-13be7e3f41d1", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "8db56492-8387-4bb3-86d0-49e28651d121", - "c87ccecb-293e-48e8-b84b-5c6584c2e0ef", - "306fbc91-c2d8-4879-9da2-de619c42f048" + "49e33ee8-4f36-48cd-8051-f0792f81d207", + "55b273c7-12a9-40e6-a876-01c753bdaf33", + "a1eb3a7b-0818-46a8-8d18-1ab5b3a09b97" ], "failures": [ - "9056a5ce-8fb8-4683-b051-c9d09d00c3e6", - "f26b1e02-ba57-4ea3-a9f2-5cc3ad5a8212" + "3ad8d84a-a83a-4f36-8b28-fa7bb9deb731", + "6d8f7d50-60b4-4f23-a507-090ed962f58d" ], "pending": [], "skipped": [], diff --git a/tests/data/result/trx-nunit-ignore-mochawesome.json b/tests/data/result/trx-nunit-ignore-mochawesome.json index a47a022..619e7a1 100644 --- a/tests/data/result/trx-nunit-ignore-mochawesome.json +++ b/tests/data/result/trx-nunit-ignore-mochawesome.json @@ -16,7 +16,7 @@ }, "results": [ { - "uuid": "a7b58f9a-1b72-42a9-baea-eae3d6a65b11", + "uuid": "efea1354-1db9-48eb-bb01-ddf3beb0eeb9", "title": "", "fullFile": "", "file": "", @@ -25,7 +25,7 @@ "tests": [], "suites": [ { - "uuid": "66cdcf2d-72b5-4c0b-95f6-877db1d5c2f1", + "uuid": "05a2313b-3ef4-4162-a3da-5e5ef326f19b", "title": "NUnitSample.SimpleTests", "file": "", "beforeHooks": [], @@ -44,11 +44,11 @@ "code": null, "err": { "message": "Failing for demo purposes", - "estack": "at NUnitSample.SimpleTests.Failing_test() in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\NUnitSample\\SimpleTests.cs:line 21\n", + "estack": "at NUnitSample.SimpleTests.Failing_test() in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\NUnitSample\\SimpleTests.cs:line 21", "diff": null }, - "uuid": "13f1b4f8-3843-4118-ac8f-2a3025cfd493", - "parentUUID": "66cdcf2d-72b5-4c0b-95f6-877db1d5c2f1", + "uuid": "9b48169b-3536-482d-820e-581541dd54a3", + "parentUUID": "05a2313b-3ef4-4162-a3da-5e5ef326f19b", "isHook": false, "skipped": false }, @@ -64,8 +64,8 @@ "context": "[\"skipped: Ignoring for testing ;-)\"]", "code": null, "err": {}, - "uuid": "49ee5955-75fc-4c1f-911e-a8d7ad68e968", - "parentUUID": "66cdcf2d-72b5-4c0b-95f6-877db1d5c2f1", + "uuid": "851a89c0-4e9e-4376-993a-68821d1b4d4d", + "parentUUID": "05a2313b-3ef4-4162-a3da-5e5ef326f19b", "isHook": false, "skipped": false }, @@ -81,8 +81,8 @@ "context": null, "code": null, "err": {}, - "uuid": "2eab89ae-7a62-48bd-9fef-57163138e7ce", - "parentUUID": "66cdcf2d-72b5-4c0b-95f6-877db1d5c2f1", + "uuid": "52a38360-ce34-4269-9240-aee235aa3ada", + "parentUUID": "05a2313b-3ef4-4162-a3da-5e5ef326f19b", "isHook": false, "skipped": false }, @@ -98,8 +98,8 @@ "context": null, "code": null, "err": {}, - "uuid": "0f922e21-d5d5-44a0-9b29-713463de6c60", - "parentUUID": "66cdcf2d-72b5-4c0b-95f6-877db1d5c2f1", + "uuid": "73a57671-647a-4eee-98cd-9b80353da5ec", + "parentUUID": "05a2313b-3ef4-4162-a3da-5e5ef326f19b", "isHook": false, "skipped": false }, @@ -112,26 +112,26 @@ "pass": false, "fail": false, "pending": true, - "context": "[\"skipped: Expected: True But was: False \"]", + "context": "[\"skipped: Expected: True But was: False \"]", "code": null, "err": {}, - "uuid": "d9c144ed-606b-445a-9c71-77db30ed82a1", - "parentUUID": "66cdcf2d-72b5-4c0b-95f6-877db1d5c2f1", + "uuid": "ec4986d3-259e-4b9d-a1cd-6a072df5db05", + "parentUUID": "05a2313b-3ef4-4162-a3da-5e5ef326f19b", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "2eab89ae-7a62-48bd-9fef-57163138e7ce", - "0f922e21-d5d5-44a0-9b29-713463de6c60" + "52a38360-ce34-4269-9240-aee235aa3ada", + "73a57671-647a-4eee-98cd-9b80353da5ec" ], "failures": [ - "13f1b4f8-3843-4118-ac8f-2a3025cfd493" + "9b48169b-3536-482d-820e-581541dd54a3" ], "pending": [ - "49ee5955-75fc-4c1f-911e-a8d7ad68e968", - "d9c144ed-606b-445a-9c71-77db30ed82a1" + "851a89c0-4e9e-4376-993a-68821d1b4d4d", + "ec4986d3-259e-4b9d-a1cd-6a072df5db05" ], "skipped": [], "duration": 1074, diff --git a/tests/data/result/trx-nunit-mochawesome.json b/tests/data/result/trx-nunit-mochawesome.json index c2626a3..532059b 100644 --- a/tests/data/result/trx-nunit-mochawesome.json +++ b/tests/data/result/trx-nunit-mochawesome.json @@ -16,7 +16,7 @@ }, "results": [ { - "uuid": "881352d5-c372-45d3-a05c-91ba1f20b5ca", + "uuid": "61a38f80-d4a7-4a6f-ab3d-5231860687a6", "title": "", "fullFile": "", "file": "", @@ -25,7 +25,7 @@ "tests": [], "suites": [ { - "uuid": "55532edc-4879-48f5-880c-f01dcbd67cc1", + "uuid": "1038ff8c-2ae9-4391-930a-8bb1dcec04e0", "title": "NUnitSample.DataDriven", "file": "", "beforeHooks": [], @@ -44,11 +44,11 @@ "code": null, "err": { "message": "Failing for demo purposes", - "estack": "at NUnitSample.DataDriven.Failing_test() in C:\\projects\\trx2junit\\samples\\NUnitSample\\DataDriven.cs:line 27\n\n\n1) at NUnitSample.DataDriven.Failing_test() in C:\\projects\\trx2junit\\samples\\NUnitSample\\DataDriven.cs:line 27\n", + "estack": "at NUnitSample.DataDriven.Failing_test() in C:\\projects\\trx2junit\\samples\\NUnitSample\\DataDriven.cs:line 27\n\n1) at NUnitSample.DataDriven.Failing_test() in C:\\projects\\trx2junit\\samples\\NUnitSample\\DataDriven.cs:line 27", "diff": null }, - "uuid": "96aebed4-9d7d-4672-86a9-21f636f19c98", - "parentUUID": "55532edc-4879-48f5-880c-f01dcbd67cc1", + "uuid": "d71c556b-0b9c-47ba-9078-8a59effc263a", + "parentUUID": "1038ff8c-2ae9-4391-930a-8bb1dcec04e0", "isHook": false, "skipped": false }, @@ -64,8 +64,8 @@ "context": null, "code": null, "err": {}, - "uuid": "153c7f00-3978-4fe1-a346-f9040f9abc05", - "parentUUID": "55532edc-4879-48f5-880c-f01dcbd67cc1", + "uuid": "adc5d910-41a8-494d-9ec2-46e91b11079e", + "parentUUID": "1038ff8c-2ae9-4391-930a-8bb1dcec04e0", "isHook": false, "skipped": false }, @@ -81,8 +81,8 @@ "context": null, "code": null, "err": {}, - "uuid": "08cce3c9-3454-428a-822b-7c8c62bb776a", - "parentUUID": "55532edc-4879-48f5-880c-f01dcbd67cc1", + "uuid": "4ea060fc-1579-4052-8e4f-646f0977b225", + "parentUUID": "1038ff8c-2ae9-4391-930a-8bb1dcec04e0", "isHook": false, "skipped": false }, @@ -99,11 +99,11 @@ "code": null, "err": { "message": "Failing for demo purposes", - "estack": "at NUnitSample.DataDriven.Two_pass_one_fails(Int32 arg) in C:\\projects\\trx2junit\\samples\\NUnitSample\\DataDriven.cs:line 18\n\n at InvokeStub_DataDriven.Two_pass_one_fails(Object, Span`1)\n\n\n1) at NUnitSample.DataDriven.Two_pass_one_fails(Int32 arg) in C:\\projects\\trx2junit\\samples\\NUnitSample\\DataDriven.cs:line 18\n\n at InvokeStub_DataDriven.Two_pass_one_fails(Object, Span`1)\n", + "estack": "at NUnitSample.DataDriven.Two_pass_one_fails(Int32 arg) in C:\\projects\\trx2junit\\samples\\NUnitSample\\DataDriven.cs:line 18\n at InvokeStub_DataDriven.Two_pass_one_fails(Object, Span`1)\n\n1) at NUnitSample.DataDriven.Two_pass_one_fails(Int32 arg) in C:\\projects\\trx2junit\\samples\\NUnitSample\\DataDriven.cs:line 18\n at InvokeStub_DataDriven.Two_pass_one_fails(Object, Span`1)", "diff": null }, - "uuid": "b2cd8c21-fd1f-44ef-9e1a-09d7942d9cfa", - "parentUUID": "55532edc-4879-48f5-880c-f01dcbd67cc1", + "uuid": "e3c26343-1a46-48e6-954a-d71ca6fc1473", + "parentUUID": "1038ff8c-2ae9-4391-930a-8bb1dcec04e0", "isHook": false, "skipped": false }, @@ -119,21 +119,21 @@ "context": null, "code": null, "err": {}, - "uuid": "31572dd8-6a5f-4762-86f4-08971c909e23", - "parentUUID": "55532edc-4879-48f5-880c-f01dcbd67cc1", + "uuid": "12dfabaf-5e71-473b-bab5-d386165b1b72", + "parentUUID": "1038ff8c-2ae9-4391-930a-8bb1dcec04e0", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "153c7f00-3978-4fe1-a346-f9040f9abc05", - "08cce3c9-3454-428a-822b-7c8c62bb776a", - "31572dd8-6a5f-4762-86f4-08971c909e23" + "adc5d910-41a8-494d-9ec2-46e91b11079e", + "4ea060fc-1579-4052-8e4f-646f0977b225", + "12dfabaf-5e71-473b-bab5-d386165b1b72" ], "failures": [ - "96aebed4-9d7d-4672-86a9-21f636f19c98", - "b2cd8c21-fd1f-44ef-9e1a-09d7942d9cfa" + "d71c556b-0b9c-47ba-9078-8a59effc263a", + "e3c26343-1a46-48e6-954a-d71ca6fc1473" ], "pending": [], "skipped": [], @@ -143,7 +143,7 @@ "_timeout": 10000 }, { - "uuid": "2e2817ad-e50d-412b-8314-3183775e50d4", + "uuid": "04dd9c79-cada-45e5-b01d-6c7c1117ae37", "title": "NUnitSample.MemberData", "file": "", "beforeHooks": [], @@ -162,11 +162,11 @@ "code": null, "err": { "message": " Failing for demo purposes Expected: True But was: False ", - "estack": "at NUnitSample.MemberData.Failing_test() in C:\\projects\\trx2junit\\samples\\NUnitSample\\MemberData.cs:line 31\n\n\n1) at NUnitSample.MemberData.Failing_test() in C:\\projects\\trx2junit\\samples\\NUnitSample\\MemberData.cs:line 31\n", + "estack": "at NUnitSample.MemberData.Failing_test() in C:\\projects\\trx2junit\\samples\\NUnitSample\\MemberData.cs:line 31\n\n1) at NUnitSample.MemberData.Failing_test() in C:\\projects\\trx2junit\\samples\\NUnitSample\\MemberData.cs:line 31", "diff": null }, - "uuid": "d18cbadc-aaf9-4d61-aeea-7474f369cd9d", - "parentUUID": "2e2817ad-e50d-412b-8314-3183775e50d4", + "uuid": "ea734507-2fb6-47fe-b972-9d58ee780ebf", + "parentUUID": "04dd9c79-cada-45e5-b01d-6c7c1117ae37", "isHook": false, "skipped": false }, @@ -182,8 +182,8 @@ "context": null, "code": null, "err": {}, - "uuid": "d5ac2557-fe3c-428e-9b06-998560fb69a6", - "parentUUID": "2e2817ad-e50d-412b-8314-3183775e50d4", + "uuid": "5764aaa3-c6ec-43e0-a83f-d1794c9135c3", + "parentUUID": "04dd9c79-cada-45e5-b01d-6c7c1117ae37", "isHook": false, "skipped": false }, @@ -199,8 +199,8 @@ "context": null, "code": null, "err": {}, - "uuid": "a422961e-e7a6-4bda-95bd-efd37a49a282", - "parentUUID": "2e2817ad-e50d-412b-8314-3183775e50d4", + "uuid": "3b37e0d9-930d-435b-8e4a-75ca60079a2a", + "parentUUID": "04dd9c79-cada-45e5-b01d-6c7c1117ae37", "isHook": false, "skipped": false }, @@ -217,11 +217,11 @@ "code": null, "err": { "message": " Failing for demo purposes Expected: True But was: False ", - "estack": "at NUnitSample.MemberData.Two_pass_one_fails(Object obj) in C:\\projects\\trx2junit\\samples\\NUnitSample\\MemberData.cs:line 22\n\n at InvokeStub_MemberData.Two_pass_one_fails(Object, Span`1)\n\n\n1) at NUnitSample.MemberData.Two_pass_one_fails(Object obj) in C:\\projects\\trx2junit\\samples\\NUnitSample\\MemberData.cs:line 22\n\n at InvokeStub_MemberData.Two_pass_one_fails(Object, Span`1)\n", + "estack": "at NUnitSample.MemberData.Two_pass_one_fails(Object obj) in C:\\projects\\trx2junit\\samples\\NUnitSample\\MemberData.cs:line 22\n at InvokeStub_MemberData.Two_pass_one_fails(Object, Span`1)\n\n1) at NUnitSample.MemberData.Two_pass_one_fails(Object obj) in C:\\projects\\trx2junit\\samples\\NUnitSample\\MemberData.cs:line 22\n at InvokeStub_MemberData.Two_pass_one_fails(Object, Span`1)", "diff": null }, - "uuid": "0de2d861-2269-4fcb-8764-6c94fd8c8a74", - "parentUUID": "2e2817ad-e50d-412b-8314-3183775e50d4", + "uuid": "b0bc339c-821b-42ca-9a16-6c407ee548b4", + "parentUUID": "04dd9c79-cada-45e5-b01d-6c7c1117ae37", "isHook": false, "skipped": false }, @@ -237,21 +237,21 @@ "context": null, "code": null, "err": {}, - "uuid": "a593c959-21ea-4734-87bf-fec06240ce2a", - "parentUUID": "2e2817ad-e50d-412b-8314-3183775e50d4", + "uuid": "4b167ee9-baf7-40e5-a3e2-d0e7183d070e", + "parentUUID": "04dd9c79-cada-45e5-b01d-6c7c1117ae37", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "d5ac2557-fe3c-428e-9b06-998560fb69a6", - "a422961e-e7a6-4bda-95bd-efd37a49a282", - "a593c959-21ea-4734-87bf-fec06240ce2a" + "5764aaa3-c6ec-43e0-a83f-d1794c9135c3", + "3b37e0d9-930d-435b-8e4a-75ca60079a2a", + "4b167ee9-baf7-40e5-a3e2-d0e7183d070e" ], "failures": [ - "d18cbadc-aaf9-4d61-aeea-7474f369cd9d", - "0de2d861-2269-4fcb-8764-6c94fd8c8a74" + "ea734507-2fb6-47fe-b972-9d58ee780ebf", + "b0bc339c-821b-42ca-9a16-6c407ee548b4" ], "pending": [], "skipped": [], @@ -261,7 +261,7 @@ "_timeout": 10000 }, { - "uuid": "16213fa7-03d5-4c92-a045-01ea6012d3fe", + "uuid": "f8afc5c6-4a80-44f9-aece-8faaa4342627", "title": "NUnitSample.SimpleTests", "file": "", "beforeHooks": [], @@ -280,11 +280,11 @@ "code": null, "err": { "message": "Failing for demo purposes", - "estack": "at NUnitSample.SimpleTests.Failing_test() in C:\\projects\\trx2junit\\samples\\NUnitSample\\SimpleTests.cs:line 21\n\n\n1) at NUnitSample.SimpleTests.Failing_test() in C:\\projects\\trx2junit\\samples\\NUnitSample\\SimpleTests.cs:line 21\n", + "estack": "at NUnitSample.SimpleTests.Failing_test() in C:\\projects\\trx2junit\\samples\\NUnitSample\\SimpleTests.cs:line 21\n\n1) at NUnitSample.SimpleTests.Failing_test() in C:\\projects\\trx2junit\\samples\\NUnitSample\\SimpleTests.cs:line 21", "diff": null }, - "uuid": "d20019aa-15e7-4c33-8481-a35bf2c2eaff", - "parentUUID": "16213fa7-03d5-4c92-a045-01ea6012d3fe", + "uuid": "ba2f6887-bab5-414a-90de-a8d61461f8b8", + "parentUUID": "f8afc5c6-4a80-44f9-aece-8faaa4342627", "isHook": false, "skipped": false }, @@ -300,8 +300,8 @@ "context": "[\"skipped: Ignoring for testing ;-)\"]", "code": null, "err": {}, - "uuid": "14547c95-d3cd-4b3d-98bf-9e25e11893db", - "parentUUID": "16213fa7-03d5-4c92-a045-01ea6012d3fe", + "uuid": "dede8916-c409-4bde-aed0-fce64493902c", + "parentUUID": "f8afc5c6-4a80-44f9-aece-8faaa4342627", "isHook": false, "skipped": false }, @@ -317,8 +317,8 @@ "context": null, "code": null, "err": {}, - "uuid": "928dc1c7-77f7-4552-b679-e2e28daa52d9", - "parentUUID": "16213fa7-03d5-4c92-a045-01ea6012d3fe", + "uuid": "382727b3-bfc6-4f32-a4a8-78599f360ea0", + "parentUUID": "f8afc5c6-4a80-44f9-aece-8faaa4342627", "isHook": false, "skipped": false }, @@ -334,8 +334,8 @@ "context": null, "code": null, "err": {}, - "uuid": "03fe00bc-24c2-42a2-b684-ca486edbd417", - "parentUUID": "16213fa7-03d5-4c92-a045-01ea6012d3fe", + "uuid": "c0a5d6a4-5cc0-4d0a-9470-262bbce4c8b2", + "parentUUID": "f8afc5c6-4a80-44f9-aece-8faaa4342627", "isHook": false, "skipped": false }, @@ -351,8 +351,8 @@ "context": "[{\"title\":\"system-out\",\"value\":\"message written to stdout\"}]", "code": null, "err": {}, - "uuid": "a34a9255-4e21-421b-b4e1-46f8ad15b7c5", - "parentUUID": "16213fa7-03d5-4c92-a045-01ea6012d3fe", + "uuid": "2a56349d-0448-45a8-917f-7af7a821902d", + "parentUUID": "f8afc5c6-4a80-44f9-aece-8faaa4342627", "isHook": false, "skipped": false }, @@ -365,27 +365,27 @@ "pass": false, "fail": false, "pending": true, - "context": "[\"skipped: Expected: True But was: False \",{\"title\":\"system-out\",\"value\":\"Expected: True \\n But was: False\"}]", + "context": "[\"skipped: Expected: True But was: False \",{\"title\":\"system-out\",\"value\":\"Expected: True \\n But was: False\"}]", "code": null, "err": {}, - "uuid": "bd4f8e96-063a-4844-8b34-533530f27d2a", - "parentUUID": "16213fa7-03d5-4c92-a045-01ea6012d3fe", + "uuid": "b0a8f81a-9db9-4af8-bf36-7613b0df0450", + "parentUUID": "f8afc5c6-4a80-44f9-aece-8faaa4342627", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "928dc1c7-77f7-4552-b679-e2e28daa52d9", - "03fe00bc-24c2-42a2-b684-ca486edbd417", - "a34a9255-4e21-421b-b4e1-46f8ad15b7c5" + "382727b3-bfc6-4f32-a4a8-78599f360ea0", + "c0a5d6a4-5cc0-4d0a-9470-262bbce4c8b2", + "2a56349d-0448-45a8-917f-7af7a821902d" ], "failures": [ - "d20019aa-15e7-4c33-8481-a35bf2c2eaff" + "ba2f6887-bab5-414a-90de-a8d61461f8b8" ], "pending": [ - "14547c95-d3cd-4b3d-98bf-9e25e11893db", - "bd4f8e96-063a-4844-8b34-533530f27d2a" + "dede8916-c409-4bde-aed0-fce64493902c", + "b0a8f81a-9db9-4af8-bf36-7613b0df0450" ], "skipped": [], "duration": 1008, diff --git a/tests/data/result/trx-xunit-datadriven-mochawesome.json b/tests/data/result/trx-xunit-datadriven-mochawesome.json index 31089a1..2fa7b11 100644 --- a/tests/data/result/trx-xunit-datadriven-mochawesome.json +++ b/tests/data/result/trx-xunit-datadriven-mochawesome.json @@ -16,7 +16,7 @@ }, "results": [ { - "uuid": "1b4757c8-c09e-4cdf-8a0c-3fe0badd8a18", + "uuid": "69b0b7fa-69bf-469c-b73a-ae1f88b0e156", "title": "", "fullFile": "", "file": "", @@ -25,7 +25,7 @@ "tests": [], "suites": [ { - "uuid": "9784bf42-f3d0-4562-bfde-d5d123d13927", + "uuid": "edb171ff-69d2-4942-bae2-623eddbf27d4", "title": "XUnitSample.DataDriven", "file": "", "beforeHooks": [], @@ -47,8 +47,8 @@ "estack": "at XUnitSample.DataDriven.Failing_test() in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\XUnitSample\\DataDriven.cs:line 26", "diff": null }, - "uuid": "7a33d9a7-f8d5-4f51-a4b6-8a4507f58e2c", - "parentUUID": "9784bf42-f3d0-4562-bfde-d5d123d13927", + "uuid": "a39be7c3-91a6-45f6-9690-72bf53f2e2c6", + "parentUUID": "edb171ff-69d2-4942-bae2-623eddbf27d4", "isHook": false, "skipped": false }, @@ -64,8 +64,8 @@ "context": null, "code": null, "err": {}, - "uuid": "7e18b525-33fa-45e5-b740-b591ebd1547f", - "parentUUID": "9784bf42-f3d0-4562-bfde-d5d123d13927", + "uuid": "09771b16-949b-43e0-a687-64ef782e4f9d", + "parentUUID": "edb171ff-69d2-4942-bae2-623eddbf27d4", "isHook": false, "skipped": false }, @@ -81,8 +81,8 @@ "context": null, "code": null, "err": {}, - "uuid": "be6798ec-3d1c-4faf-8c04-b707edba8a00", - "parentUUID": "9784bf42-f3d0-4562-bfde-d5d123d13927", + "uuid": "b262dfa7-29de-4ebf-a32e-cc8f1434dd8e", + "parentUUID": "edb171ff-69d2-4942-bae2-623eddbf27d4", "isHook": false, "skipped": false }, @@ -102,8 +102,8 @@ "estack": "at XUnitSample.DataDriven.Two_pass_one_fails(Int32 arg) in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\XUnitSample\\DataDriven.cs:line 17", "diff": null }, - "uuid": "2c1f9e92-cd78-42be-816c-a1b62e476dc8", - "parentUUID": "9784bf42-f3d0-4562-bfde-d5d123d13927", + "uuid": "a080819f-9a20-41cb-93d8-81694a485ac2", + "parentUUID": "edb171ff-69d2-4942-bae2-623eddbf27d4", "isHook": false, "skipped": false }, @@ -119,21 +119,21 @@ "context": null, "code": null, "err": {}, - "uuid": "72eb5bb8-9ab1-41ed-b1ef-5e85608acbb7", - "parentUUID": "9784bf42-f3d0-4562-bfde-d5d123d13927", + "uuid": "341e2691-cc09-44da-83fc-f55c42dd0795", + "parentUUID": "edb171ff-69d2-4942-bae2-623eddbf27d4", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "7e18b525-33fa-45e5-b740-b591ebd1547f", - "be6798ec-3d1c-4faf-8c04-b707edba8a00", - "72eb5bb8-9ab1-41ed-b1ef-5e85608acbb7" + "09771b16-949b-43e0-a687-64ef782e4f9d", + "b262dfa7-29de-4ebf-a32e-cc8f1434dd8e", + "341e2691-cc09-44da-83fc-f55c42dd0795" ], "failures": [ - "7a33d9a7-f8d5-4f51-a4b6-8a4507f58e2c", - "2c1f9e92-cd78-42be-816c-a1b62e476dc8" + "a39be7c3-91a6-45f6-9690-72bf53f2e2c6", + "a080819f-9a20-41cb-93d8-81694a485ac2" ], "pending": [], "skipped": [], diff --git a/tests/data/result/trx-xunit-ignore-mochawesome.json b/tests/data/result/trx-xunit-ignore-mochawesome.json index 8ed3ce0..f438b04 100644 --- a/tests/data/result/trx-xunit-ignore-mochawesome.json +++ b/tests/data/result/trx-xunit-ignore-mochawesome.json @@ -16,7 +16,7 @@ }, "results": [ { - "uuid": "39e58b31-bc7a-460c-88a4-c2d14bc3cab8", + "uuid": "b9cf74ea-8449-495f-afd0-f86f5b450efa", "title": "", "fullFile": "", "file": "", @@ -25,7 +25,7 @@ "tests": [], "suites": [ { - "uuid": "a24ee37d-80ff-4305-a6b5-30da74474f7b", + "uuid": "90be95ff-ab0f-4819-bc32-f2020a047b86", "title": "XUnitSample.SimpleTests", "file": "", "beforeHooks": [], @@ -47,8 +47,8 @@ "estack": "at XUnitSample.SimpleTests.Failing_test() in D:\\Work-Git\\github\\Mini\\trx2junit\\samples\\XUnitSample\\SimpleTests.cs:line 20", "diff": null }, - "uuid": "24d31871-4617-4af7-bcbd-0d021b1e0155", - "parentUUID": "a24ee37d-80ff-4305-a6b5-30da74474f7b", + "uuid": "0b76d622-a536-46f8-aa1e-002ea19c8764", + "parentUUID": "90be95ff-ab0f-4819-bc32-f2020a047b86", "isHook": false, "skipped": false }, @@ -64,8 +64,8 @@ "context": "[\"skipped: Ignoring for testing ;-)\"]", "code": null, "err": {}, - "uuid": "13dfb96e-392e-46c4-917e-0750bff1e578", - "parentUUID": "a24ee37d-80ff-4305-a6b5-30da74474f7b", + "uuid": "52d5f8b5-daa5-4dea-84ea-c3629de5b409", + "parentUUID": "90be95ff-ab0f-4819-bc32-f2020a047b86", "isHook": false, "skipped": false }, @@ -81,8 +81,8 @@ "context": null, "code": null, "err": {}, - "uuid": "0c851e75-7089-43a4-bb42-e5c4987b95a6", - "parentUUID": "a24ee37d-80ff-4305-a6b5-30da74474f7b", + "uuid": "9b416b49-c41b-4892-8740-fb8f8aaa43fa", + "parentUUID": "90be95ff-ab0f-4819-bc32-f2020a047b86", "isHook": false, "skipped": false }, @@ -98,22 +98,22 @@ "context": null, "code": null, "err": {}, - "uuid": "3b222557-e005-49e5-b09d-dccb3bd8618f", - "parentUUID": "a24ee37d-80ff-4305-a6b5-30da74474f7b", + "uuid": "30f2fb90-91a3-4176-833e-1d711c3e1d19", + "parentUUID": "90be95ff-ab0f-4819-bc32-f2020a047b86", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "0c851e75-7089-43a4-bb42-e5c4987b95a6", - "3b222557-e005-49e5-b09d-dccb3bd8618f" + "9b416b49-c41b-4892-8740-fb8f8aaa43fa", + "30f2fb90-91a3-4176-833e-1d711c3e1d19" ], "failures": [ - "24d31871-4617-4af7-bcbd-0d021b1e0155" + "0b76d622-a536-46f8-aa1e-002ea19c8764" ], "pending": [ - "13dfb96e-392e-46c4-917e-0750bff1e578" + "52d5f8b5-daa5-4dea-84ea-c3629de5b409" ], "skipped": [], "duration": 1028, diff --git a/tests/data/result/trx-xunit-mochawesome.json b/tests/data/result/trx-xunit-mochawesome.json index d113970..927f2d4 100644 --- a/tests/data/result/trx-xunit-mochawesome.json +++ b/tests/data/result/trx-xunit-mochawesome.json @@ -16,7 +16,7 @@ }, "results": [ { - "uuid": "cca1775c-ca78-464c-b944-2acab1ddbb2e", + "uuid": "7e822901-08f7-4f82-a503-01930c795cd1", "title": "", "fullFile": "", "file": "", @@ -25,7 +25,7 @@ "tests": [], "suites": [ { - "uuid": "02f7c8eb-d67e-4f8c-9b82-85b17701391d", + "uuid": "0d4f493c-2f42-46ae-9393-9d41b37eb505", "title": "XUnitSample.DataDriven", "file": "", "beforeHooks": [], @@ -44,11 +44,11 @@ "code": null, "err": { "message": "Failing for demo purposes Expected: True Actual: False", - "estack": "at XUnitSample.DataDriven.Failing_test() in C:\\projects\\trx2junit\\samples\\XUnitSample\\DataDriven.cs:line 26\n\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)", + "estack": "at XUnitSample.DataDriven.Failing_test() in C:\\projects\\trx2junit\\samples\\XUnitSample\\DataDriven.cs:line 26\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)", "diff": null }, - "uuid": "ef1c0374-b71e-4b58-a844-e2fcf4408ef1", - "parentUUID": "02f7c8eb-d67e-4f8c-9b82-85b17701391d", + "uuid": "f31ef260-8001-4aae-85de-943cb7051541", + "parentUUID": "0d4f493c-2f42-46ae-9393-9d41b37eb505", "isHook": false, "skipped": false }, @@ -64,8 +64,8 @@ "context": null, "code": null, "err": {}, - "uuid": "0ebc0f61-7412-41bb-9acd-86fb62a4a4f0", - "parentUUID": "02f7c8eb-d67e-4f8c-9b82-85b17701391d", + "uuid": "3c3ea49f-3e76-415f-b5ca-37c72e63fadf", + "parentUUID": "0d4f493c-2f42-46ae-9393-9d41b37eb505", "isHook": false, "skipped": false }, @@ -81,8 +81,8 @@ "context": null, "code": null, "err": {}, - "uuid": "4be3d477-3340-4e6b-94d5-6730b296bce2", - "parentUUID": "02f7c8eb-d67e-4f8c-9b82-85b17701391d", + "uuid": "dcf346e6-7d68-4cbf-8f6b-13497e28d61c", + "parentUUID": "0d4f493c-2f42-46ae-9393-9d41b37eb505", "isHook": false, "skipped": false }, @@ -99,11 +99,11 @@ "code": null, "err": { "message": "Failing for demo purposes Expected: True Actual: False", - "estack": "at XUnitSample.DataDriven.Two_pass_one_fails(Int32 arg) in C:\\projects\\trx2junit\\samples\\XUnitSample\\DataDriven.cs:line 17\n\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n\n at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)", + "estack": "at XUnitSample.DataDriven.Two_pass_one_fails(Int32 arg) in C:\\projects\\trx2junit\\samples\\XUnitSample\\DataDriven.cs:line 17\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)", "diff": null }, - "uuid": "c015f8d3-55c5-46cb-abe3-cfb912537938", - "parentUUID": "02f7c8eb-d67e-4f8c-9b82-85b17701391d", + "uuid": "07675389-6a24-4387-92ee-50ae4ea00e2f", + "parentUUID": "0d4f493c-2f42-46ae-9393-9d41b37eb505", "isHook": false, "skipped": false }, @@ -119,21 +119,21 @@ "context": null, "code": null, "err": {}, - "uuid": "83c24feb-8e4b-46d2-9372-fe526f0dd424", - "parentUUID": "02f7c8eb-d67e-4f8c-9b82-85b17701391d", + "uuid": "12ebda0a-1aee-4643-8ddc-7ca349b3f5b7", + "parentUUID": "0d4f493c-2f42-46ae-9393-9d41b37eb505", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "0ebc0f61-7412-41bb-9acd-86fb62a4a4f0", - "4be3d477-3340-4e6b-94d5-6730b296bce2", - "83c24feb-8e4b-46d2-9372-fe526f0dd424" + "3c3ea49f-3e76-415f-b5ca-37c72e63fadf", + "dcf346e6-7d68-4cbf-8f6b-13497e28d61c", + "12ebda0a-1aee-4643-8ddc-7ca349b3f5b7" ], "failures": [ - "ef1c0374-b71e-4b58-a844-e2fcf4408ef1", - "c015f8d3-55c5-46cb-abe3-cfb912537938" + "f31ef260-8001-4aae-85de-943cb7051541", + "07675389-6a24-4387-92ee-50ae4ea00e2f" ], "pending": [], "skipped": [], @@ -143,7 +143,7 @@ "_timeout": 10000 }, { - "uuid": "664448ab-7054-46d2-a50b-0acd60dd785c", + "uuid": "a2629716-4495-4895-a2d0-122b3910c551", "title": "XUnitSample.MemberData", "file": "", "beforeHooks": [], @@ -162,11 +162,11 @@ "code": null, "err": { "message": "Failing for demo purposes Expected: True Actual: False", - "estack": "at XUnitSample.MemberData.Failing_test() in C:\\projects\\trx2junit\\samples\\XUnitSample\\MemberData.cs:line 32\n\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)", + "estack": "at XUnitSample.MemberData.Failing_test() in C:\\projects\\trx2junit\\samples\\XUnitSample\\MemberData.cs:line 32\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)", "diff": null }, - "uuid": "dd25b2d5-031c-4801-99c0-ac33a89f1542", - "parentUUID": "664448ab-7054-46d2-a50b-0acd60dd785c", + "uuid": "dfc7b1f5-03f6-4e98-96d1-57d8808b6741", + "parentUUID": "a2629716-4495-4895-a2d0-122b3910c551", "isHook": false, "skipped": false }, @@ -182,8 +182,8 @@ "context": null, "code": null, "err": {}, - "uuid": "3825b6e4-2d5e-492f-aa59-1deb88f138a5", - "parentUUID": "664448ab-7054-46d2-a50b-0acd60dd785c", + "uuid": "d2ad0036-3412-4283-a9e2-bd83d9610412", + "parentUUID": "a2629716-4495-4895-a2d0-122b3910c551", "isHook": false, "skipped": false }, @@ -199,8 +199,8 @@ "context": null, "code": null, "err": {}, - "uuid": "2570f649-4be9-4b7c-87b6-96c6a51096b7", - "parentUUID": "664448ab-7054-46d2-a50b-0acd60dd785c", + "uuid": "2f8e2d64-d0b7-4352-be02-a111b743c336", + "parentUUID": "a2629716-4495-4895-a2d0-122b3910c551", "isHook": false, "skipped": false }, @@ -217,11 +217,11 @@ "code": null, "err": { "message": "Failing for demo purposes Expected: True Actual: False", - "estack": "at XUnitSample.MemberData.Two_pass_one_fails(Object obj) in C:\\projects\\trx2junit\\samples\\XUnitSample\\MemberData.cs:line 23\n\n at InvokeStub_MemberData.Two_pass_one_fails(Object, Span`1)\n\n at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)", + "estack": "at XUnitSample.MemberData.Two_pass_one_fails(Object obj) in C:\\projects\\trx2junit\\samples\\XUnitSample\\MemberData.cs:line 23\n at InvokeStub_MemberData.Two_pass_one_fails(Object, Span`1)\n at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)", "diff": null }, - "uuid": "d3da71af-fc26-4d45-9c43-387dce501a45", - "parentUUID": "664448ab-7054-46d2-a50b-0acd60dd785c", + "uuid": "feeaff5c-a373-49ce-ab56-0ae9c1675c89", + "parentUUID": "a2629716-4495-4895-a2d0-122b3910c551", "isHook": false, "skipped": false }, @@ -237,21 +237,21 @@ "context": null, "code": null, "err": {}, - "uuid": "5b4e45e2-9156-4138-b48d-900d99d91ed3", - "parentUUID": "664448ab-7054-46d2-a50b-0acd60dd785c", + "uuid": "2986ea9a-841d-4937-bb65-5d0f72413d20", + "parentUUID": "a2629716-4495-4895-a2d0-122b3910c551", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "3825b6e4-2d5e-492f-aa59-1deb88f138a5", - "2570f649-4be9-4b7c-87b6-96c6a51096b7", - "5b4e45e2-9156-4138-b48d-900d99d91ed3" + "d2ad0036-3412-4283-a9e2-bd83d9610412", + "2f8e2d64-d0b7-4352-be02-a111b743c336", + "2986ea9a-841d-4937-bb65-5d0f72413d20" ], "failures": [ - "dd25b2d5-031c-4801-99c0-ac33a89f1542", - "d3da71af-fc26-4d45-9c43-387dce501a45" + "dfc7b1f5-03f6-4e98-96d1-57d8808b6741", + "feeaff5c-a373-49ce-ab56-0ae9c1675c89" ], "pending": [], "skipped": [], @@ -261,7 +261,7 @@ "_timeout": 10000 }, { - "uuid": "17ba9e39-6fd5-4b77-bca3-9793a007dc2f", + "uuid": "ac061bc4-5f64-474e-89d2-7e5656fcfb75", "title": "XUnitSample.SimpleTests", "file": "", "beforeHooks": [], @@ -280,11 +280,11 @@ "code": null, "err": { "message": "Failing for demo purposes Expected: True Actual: False", - "estack": "at XUnitSample.SimpleTests.Failing_test() in C:\\projects\\trx2junit\\samples\\XUnitSample\\SimpleTests.cs:line 20\n\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)", + "estack": "at XUnitSample.SimpleTests.Failing_test() in C:\\projects\\trx2junit\\samples\\XUnitSample\\SimpleTests.cs:line 20\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)", "diff": null }, - "uuid": "d17691f0-5d73-489d-a6dc-6dbea3677f4e", - "parentUUID": "17ba9e39-6fd5-4b77-bca3-9793a007dc2f", + "uuid": "2c9a8d57-5a91-433b-8702-02e1f8473df1", + "parentUUID": "ac061bc4-5f64-474e-89d2-7e5656fcfb75", "isHook": false, "skipped": false }, @@ -300,8 +300,8 @@ "context": "[\"skipped: Ignoring for testing ;-)\"]", "code": null, "err": {}, - "uuid": "36bc829e-ebeb-4815-b1ea-8a0b954a0622", - "parentUUID": "17ba9e39-6fd5-4b77-bca3-9793a007dc2f", + "uuid": "d5b5febe-7cd0-4bdf-a08a-60b7c44ad49d", + "parentUUID": "ac061bc4-5f64-474e-89d2-7e5656fcfb75", "isHook": false, "skipped": false }, @@ -317,8 +317,8 @@ "context": null, "code": null, "err": {}, - "uuid": "6ccfeacf-6807-4d50-a7f6-3a9610c0d76b", - "parentUUID": "17ba9e39-6fd5-4b77-bca3-9793a007dc2f", + "uuid": "8ce97093-67f0-408e-b388-775ba0486527", + "parentUUID": "ac061bc4-5f64-474e-89d2-7e5656fcfb75", "isHook": false, "skipped": false }, @@ -334,22 +334,22 @@ "context": null, "code": null, "err": {}, - "uuid": "e40a19b6-2c75-4fe2-9c7b-145edca0ed51", - "parentUUID": "17ba9e39-6fd5-4b77-bca3-9793a007dc2f", + "uuid": "7dd90bbd-2c82-4fc2-9392-edb8d9a9b826", + "parentUUID": "ac061bc4-5f64-474e-89d2-7e5656fcfb75", "isHook": false, "skipped": false } ], "suites": [], "passes": [ - "6ccfeacf-6807-4d50-a7f6-3a9610c0d76b", - "e40a19b6-2c75-4fe2-9c7b-145edca0ed51" + "8ce97093-67f0-408e-b388-775ba0486527", + "7dd90bbd-2c82-4fc2-9392-edb8d9a9b826" ], "failures": [ - "d17691f0-5d73-489d-a6dc-6dbea3677f4e" + "2c9a8d57-5a91-433b-8702-02e1f8473df1" ], "pending": [ - "36bc829e-ebeb-4815-b1ea-8a0b954a0622" + "d5b5febe-7cd0-4bdf-a08a-60b7c44ad49d" ], "skipped": [], "duration": 1016,