Граф коммитов

845 Коммитов

Автор SHA1 Сообщение Дата
Sheng Chen bc9d569312
build - Prepare for 0.43.0 (#1739) 2024-11-11 10:11:30 +08:00
Sheng Chen 097684dc9c
build - Update target platform (#1738) 2024-11-07 14:43:39 +08:00
Adrian Wilkins 2612b25e39
feat - Set which encoding your test JVM will start with (#1735)
* Set which encoding your test JVM will start with

This patch adds a setting to the `java.test.config` object.

```jsonc
{
  "java.test.config": {
    "encoding": "ISO-8859-1",
  },
}
```
The aim here is to be able to seamlessly test code which cares
about the launch encoding of the JVM. Yes, such code is not good.
But sometimes you don't control your dependencies enough to fix
this.

Since the debug launcher already cares about the `encoding` member of the
config, the only thing required is to add the member, which is missing
from the launch configs generated by the test plugin.

```typescript
// In `configurationProvider.ts:` (vscode-java-debug)
// VS Code internal console uses UTF-8 to display output by default.
if (config.console === "internalConsole" && !config.encoding) {
    config.encoding = "UTF-8";
}
```

Fixes #1641

---------

Co-authored-by: Sheng Chen <sheche@microsoft.com>
Co-authored-by: Adrian Wilkins <adrian.wilkins.contractor@dvla.gov.uk>
2024-10-21 09:54:33 +08:00
AntuBLUE d00d92a6d3
docs - Fix TestNG docs link (#1736)
Signed-off-by: antublue <antublue@antublue.org>
2024-10-09 12:58:13 +08:00
Sheng Chen a2f590982a
build - Update com.microsoft.java.test.tp.target (#1734) 2024-09-25 09:34:25 +08:00
dependabot[bot] 3c08f3e575
chore(deps): bump axios from 1.6.1 to 1.7.7 (#1728)
Bumps [axios](https://github.com/axios/axios) from 1.6.1 to 1.7.7.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.1...v1.7.7)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 09:49:05 +08:00
dependabot[bot] d935c4a321
chore(deps-dev): bump webpack from 5.92.1 to 5.94.0 (#1727)
Bumps [webpack](https://github.com/webpack/webpack) from 5.92.1 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.92.1...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 09:42:02 +08:00
Sheng Chen bb1a0b3e7f
fix - Use project's jacoco agent when it's available (#1723) 2024-08-06 16:51:45 +08:00
Sheng Chen e42565b0fe
fix - Method parsing error (#1722) 2024-08-06 16:29:19 +08:00
Sheng Chen eac027fcbb
build - Update jacoco to 0.8.12 (#1720) 2024-08-01 13:51:27 +08:00
Sheng Chen ad4b37c752
fix - Status code of the test completion is not handled correctly (#1716) 2024-07-29 14:21:33 +08:00
Sheng Chen b0b1e62ad6
build - Prepare for 0.42.0 (#1712) 2024-07-22 17:12:24 +08:00
Sheng Chen e78dc4aa09
fix - Show error message when test runner finishes (#1713) 2024-07-22 16:06:26 +08:00
Sheng Chen f86932f8f3
build: Enable vsix sign (#1706) 2024-07-04 19:15:53 +08:00
Sheng Chen 696e31ab2a
feat - allow other extensions to register test runner (#1705) 2024-07-04 09:57:24 +08:00
Sheng Chen afe9114e39
refactor - Extract the stacktrace parsing to util (#1704) 2024-06-27 14:17:34 +08:00
Sheng Chen f343d8984a
refactor - Remove the logic of eliminating spaces in param list (#1700) 2024-06-27 10:10:51 +08:00
Sheng Chen 37cce5c62f
build: Update telemetry wrapper (#1697) 2024-06-12 15:58:19 +08:00
Sheng Chen 25a187104d
build: Update code sign task to v5 (#1691)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2024-05-17 09:57:26 +08:00
Sheng Chen ebcc15ef1c
build: Prepare for 0.41.1 (#1686)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2024-04-24 13:50:46 +08:00
Sheng Chen d8361ff55e
fix: Bump org.jacoco.core to 8.12 (#1685)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2024-04-23 16:02:58 +08:00
Sheng Chen 4f180dc419
fix: Enable html support for test outputs (#1684)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2024-04-23 14:57:42 +08:00
Sheng Chen a30b06e54c
build: Prepare for 0.41.0 (#1677) 2024-04-05 08:27:15 +08:00
Sheng Chen 2a833363cd
feat: Implement the test coverage feature (#1637) (#1639)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2024-04-05 08:18:13 +08:00
dependabot[bot] 650af8a921
chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 (#1673)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 08:42:57 +08:00
Jinbo Wang 1b43e160f4
build: Update vscode-java-test-rc.yml for api scan (#1670)
Co-authored-by: Sheng Chen <sheche@microsoft.com>
2024-03-04 13:43:14 +08:00
Jinbo Wang af08baf892
build: Update vscode-java-test-nightly.yml for api scan (#1669)
Co-authored-by: Sheng Chen <sheche@microsoft.com>
2024-03-04 12:32:25 +08:00
hacke2 6fe3a0ca1d
docs: Update JDK to 17 (#1667)
- The minimum JDK dependency may have reached 17 now
2024-02-23 02:35:11 -08:00
Brandon John Lewis 5dd2894227
build: Upgrade tycho to v4.0.5 (#1664)
This addresses an issue with proxy settings described in microsoft/vscode-java-test#1656

Co-authored-by: Brandon John Lewis <brandon.lewis@capitalone.com>
2024-02-20 17:43:41 -08:00
Sheng Chen 90f9dead1a
fix: Add permission for no-response bot (#1662)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2024-02-04 15:00:03 +08:00
Sheng Chen 97f4a59282
build: Migrate to 1ES build template (#1645)
- Add ADO pipeline yaml files.
- Update .vscodeignore file.

Signed-off-by: sheche <sheche@microsoft.com>
2024-01-15 13:31:36 +08:00
dependabot[bot] b1cbfe8b09
chore(deps): bump follow-redirects from 1.15.3 to 1.15.4 (#1648)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 12:58:14 +08:00
ReubenFrankel 69c42048c2
feat: Filter configurations available for tests on launch by pattern (#1638)
---------

Co-authored-by: sheche <sheche@microsoft.com>
2023-12-27 14:51:08 +08:00
Sheng Chen e8235d9ea6
fix: Update @vscode/test-electron to 2.3.8 (#1640)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-12-15 13:24:56 +08:00
Sheng Chen 22a11be0c6
build: Update target platform (#1634) 2023-11-22 12:16:37 +08:00
dependabot[bot] 62c85170e9
chore(deps): bump axios and vscode-tas-client (#1632)
Bumps [axios](https://github.com/axios/axios) to 1.6.1 and updates ancestor dependency vscode-tas-client. These dependencies need to be updated together.


Updates `axios` from 0.26.1 to 1.6.1
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.26.1...v1.6.1)

Updates `vscode-tas-client` from 0.1.63 to 0.1.75

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
- dependency-name: vscode-tas-client
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-11 15:29:58 +08:00
Sheng Chen 589a870899
build: Update to tycho@4.0.3 and maven@3.9.3 (#1631)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-11-07 17:09:39 +08:00
Sheng Chen 03d234c48c
build: Prepare for 0.40.1 (#1628) 2023-10-27 14:09:08 +08:00
Sheng Chen e6b8af6d96
fix: JUnit5 DynamicContainer are not wokring (#1619)
- Store the test data for the test invocations as well.
- Remove the logic that adding prefix to the invocations. Instead,
- Using the information returned from the runner to compose the ids.

Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-10-09 12:55:04 +08:00
Sheng Chen 69aaa5caf8
fix: NPE when get test source paths (#1622)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-10-08 15:57:50 +08:00
Sheng Chen 26188a9eda
refactor: Initialize the unit tests for java code (#1620)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-10-07 16:08:44 +08:00
Sheng Chen 29af607c38
fix: Set working directory to linked folder when it's unmanaged folder projects (#1615)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-10-07 13:38:06 +08:00
Sheng Chen 6aa29b55b4
build: Prepare for 0.40.0 (#1612) 2023-09-23 04:22:03 -07:00
Sheng Chen cdfde8dec8
fix: Track framework name instead of int value (#1609)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-09-22 00:56:21 -07:00
Sheng Chen 5b156d2594
fix: Track the version of the test framework (#1608)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-09-20 14:44:40 +08:00
Sheng Chen c50f2c2f4d
build: Update the target platform (#1607)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-09-20 12:20:53 +08:00
Gayan Perera ae723632e0
Add support to specify java executable to use for test (#1602) 2023-09-04 16:10:59 +08:00
Sheng Chen d49478bb07
build: Bump dependency version & extension version (#1593) 2023-08-02 16:47:14 +08:00
Sheng Chen 43e384199c
build: Remove preview flag. (#1592) 2023-08-02 13:41:11 +08:00
dependabot[bot] 863a85edcb
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 (#1590)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 17:24:47 -07:00