Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ vscode-dotnet-runtime-library/install scripts/dotnet-install.*
vscode-dotnet-runtime-extension/LICENSE.txt
vscode-dotnet-sdk-extension/LICENSE.txt
.vscode/launch.json
rimraf
rimraf
test-results.xml
12 changes: 11 additions & 1 deletion pipeline-templates/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
condition:
- script: test.cmd
displayName: 🔍 Test Windows
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testRunner: JUnit
testResultsFiles: '**/test-results.xml'
- ${{ if eq(parameters.pool.os, 'linux') }}:
- bash: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
Expand All @@ -35,4 +40,9 @@ jobs:
condition:
- script: ./test.sh
displayName: 🔎 Test Mac and Linux
env: {DISPLAY: ':99.0'}
env: {DISPLAY: ':99.0'}
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testRunner: JUnit
testResultsFiles: '**/test-results.xml'
157 changes: 153 additions & 4 deletions vscode-dotnet-runtime-extension/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vscode-dotnet-runtime-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"hmac-drbg": "^1.0.1",
"https-proxy-agent": "^7.0.2",
"mocha": "^9.1.3",
"mocha-junit-reporter": "^2.2.1",
"open": "^8.4.0",
"public-ip": "5.0.0",
"rimraf": "3.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function run(): Promise<void> {
const mocha = new Mocha({
ui: 'tdd',
color: true,
});
}).reporter('spec').reporter('mocha-junit-reporter');

const testsRoot = path.resolve(__dirname, '..');

Expand Down
Loading