Skip to content

Commit 01a1f7b

Browse files
committed
test: added ui tests for dep installation
1 parent ea033b4 commit 01a1f7b

12 files changed

+3479
-54
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
*.js
2+
test-resources

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ venv/
1616
*.egg-info/
1717
*.eggs/
1818
*.pyc
19+
20+
# UI tests
21+
test-resources/

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# .prettierignore
22

3+
test-resources
34
node_modules
45
.vscode-test
56
coverage

.vscode/launch.json

+15
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,21 @@
4343
],
4444
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
4545
"preLaunchTask": "npm: pretest"
46+
},
47+
{
48+
"name": "Debug UI Tests",
49+
"type": "node",
50+
"request": "launch",
51+
"program": "${workspaceFolder}/node_modules/.bin/extest",
52+
"args": [
53+
"setup-and-run",
54+
"${workspaceFolder}/out/test/ui/*.js",
55+
"--mocha_config",
56+
"${workspaceFolder}/test/ui/.mocharc.js"
57+
],
58+
"console": "integratedTerminal",
59+
"internalConsoleOptions": "neverOpen",
60+
"preLaunchTask": "npm: pretest"
4661
}
4762
]
4863
}

.vscodeignore

+1
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ vsc-extension-quickstart.md
1919
CONTRIBUTING.md
2020
coverconfig.json
2121
assets/{videos,tools,svg,README.md}
22+
test-resources/

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99

1010
### Added
1111

12+
- Added User Interface tests for program installation
1213
- Added option to disable Release Notes from being displayed
1314
([#675](https://github.com/fortran-lang/vscode-fortran-support/issues/675))
1415
- Added support for schema validation of `fpm.toml` files.

0 commit comments

Comments
 (0)