mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
Remove code coverage from STS (#1537)
* WIP removal of code coverage * more coverage removed * more fixes * fix tests
This commit is contained in:
@@ -22,8 +22,7 @@
|
||||
## Run Tests
|
||||
|
||||
The SQL Tools Service has several different types of tests such as unit tests, "connected" tests,
|
||||
integration tests, perf tests and stress tests. Additionally, there is also test configuration
|
||||
scripts to collect code coverage results.
|
||||
integration tests, perf tests and stress tests.
|
||||
|
||||
### Running Unit Tests
|
||||
|
||||
@@ -41,15 +40,4 @@ xUnit.net .NET CLI test runner (64-bit win10-x64)
|
||||
=== TEST EXECUTION SUMMARY ===
|
||||
Microsoft.SqlTools.ServiceLayer.Test Total: 434, Errors: 0, Failed: 0, Skipped: 0, Time: 21.139s
|
||||
SUMMARY: Total: 1 targets, Passed: 1, Failed: 0.
|
||||
```
|
||||
|
||||
### Collecting Code Coverage
|
||||
|
||||
> Code coverage requires a SQL Server instance installed on the localhost with Integrated Authentication
|
||||
> configured for the current user executing the test suite.
|
||||
|
||||
> Code coverage can only be collected from Windows at this time.
|
||||
|
||||
1. Run `npm install` from test/CodeCoverage directory.
|
||||
2. Run `runintegration.cmd` from test/CodeCoverage directory.
|
||||
3. Code coverage results will be available in the test/CodeCoverage/reports/index.html report.
|
||||
```
|
||||
Reference in New Issue
Block a user