Skip to content

Commit f7156f5

Browse files
authored
Merge branch 'master' into patch-1
2 parents 73507e7 + 7a21aef commit f7156f5

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

jekyll/_cci2/collect-test-data.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ This section provides the following test runner examples:
7474
* [pytest]( {{ site.baseurl }}/2.0/collect-test-data/#pytest)
7575
* [RSpec]( {{ site.baseurl }}/2.0/collect-test-data/#rspec)
7676
* [test2junit]( {{ site.baseurl }}/2.0/collect-test-data/#test2junit-for-clojure-tests)
77+
* [trx2junit]( {{ site.baseurl }}/2.0/collect-test-data/#trx2junit-for-visual-studio--net-core-tests)
7778
* [Karma]( {{ site.baseurl }}/2.0/collect-test-data/#karma)
7879
* [Jest]( {{ site.baseurl }}/2.0/collect-test-data/#jest)
7980

@@ -414,6 +415,30 @@ See the [minitest-ci README](https://github.com/circleci/minitest-ci#readme) for
414415
{:.no_toc}
415416
Use [test2junit](https://github.com/ruedigergad/test2junit) to convert Clojure test output to XML format. For more details, refer to the [sample project](https://github.com/kimh/circleci-build-recipies/tree/clojure-test-metadata-with-test2junit).
416417
418+
#### trx2junit for Visual Studio / .NET Core Tests
419+
{:.no_toc}
420+
Use [trx2junit](https://github.com/gfoidl/trx2junit) to convert Visual Studio / .NET Core trx output to XML format.
421+
422+
A working `.circleci/config.yml` section might look like this:
423+
424+
```yaml
425+
steps:
426+
- checkout
427+
- run: dotnet build
428+
- run: dotnet test --no-build --logger "trx"
429+
- run:
430+
name: test results
431+
command: |
432+
dotnet tool install -g trx2junit
433+
export PATH="$PATH:/root/.dotnet/tools"
434+
trx2junit tests/**/TestResults/*.trx
435+
- store_test_results:
436+
path: tests/TestResults
437+
- store_artifacts:
438+
path: tests/TestResults
439+
destination: TestResults
440+
```
441+
417442
#### Karma
418443
{:.no_toc}
419444

jekyll/_cci2/contexts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For any GitHub Enterprise (GHE) installation that includes multiple organization
3030

3131
## Creating and Using a Context
3232

33-
1. As an organization member, Navigate to the Settings > Contexts page in the CircleCI application. **Note:** Any organization memeber can create a context only organization administrators can restrict it with a security group.
33+
1. As an organization member, Navigate to the Settings > Contexts page in the CircleCI application. **Note:** Any organization member can create a context only organization administrators can restrict it with a security group.
3434

3535
2. Click the Create Contexts button to add a unique name for your Context. After you click the Create button on the dialog box, the Context appears in a list with Security set to `All members` to indicate that anyone in your organization can access this context at runtime.
3636

0 commit comments

Comments
 (0)