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

69 Коммитов

Автор SHA1 Сообщение Дата
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 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 f343d8984a
refactor - Remove the logic of eliminating spaces in param list (#1700) 2024-06-27 10:10:51 +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
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 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
Gayan Perera ae723632e0
Add support to specify java executable to use for test (#1602) 2023-09-04 16:10:59 +08:00
Sheng Chen d3b2978910
feat: Support 'postDebugTask' in test configuration (#1567)
Signed-off-by: sheche <sheche@microsoft.com>
2023-05-09 15:09:44 +08:00
Sheng Chen 859a7c4c92
fix: Cannot run @TestFactory tests (#1566)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-04-27 11:21:31 +08:00
Sheng Chen 5a78371ad6
fix: Stop the test session when exception happens (#1543)
* fix: Stop the test session when exception happens

---------

Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-03-06 21:56:32 -08:00
Kropie e8faf551ff
fix: Adding support for older testng versions (#1541) 2023-03-02 10:56:45 +08:00
Sheng Chen 9add95fe12
fix: Cannot run normal JUnit 5 test methods with multiple parameters (#1535)
Signed-off-by: sheche <sheche@microsoft.com>
2023-02-27 18:37:52 -08:00
Sheng Chen e67c44db43
fix: Handle methods which have more than 2 arguments (#1532)
- Use global match when parsing the method parameters list.
- Eliminate all spaces in the parameters list of the test IDs.

Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-02-17 14:03:45 +08:00
Kropie d46a5923f9
fix: Better handle the overload test methods (#1526)
- change the test id of JUnit 5 and TestNG. The new test id of these two frameworks 
   will contain the method parameter types, so that users can specify any one of the
   overload test methods and see the results.
- update the contribution guide.
- add some test cases for TestNG.
2023-02-09 10:13:09 +08:00
fladdimir d8fda1aa54
fix: Deduplicate diff test messages (#1521) 2023-01-29 16:35:31 -08:00
fladdimir c868001054
feat: Support Junit5 parallel execution #1472 (#1519)
Co-authored-by: Sheng Chen <sheche@microsoft.com>
2023-01-23 19:25:48 -08:00
Sheng Chen 8e25a6151e
fix: Add 'testKind' to the test configuration (#1479)
* fix: Add 'testKind' to the test configuration

Signed-off-by: Sheng Chen <sheche@microsoft.com>
2022-08-29 13:58:12 +08:00
Sheng Chen 51463e7705
feat: Specify tags for JUnit 5 tests (#1471)
* feat: Specify tags for JUnit 5 tests

- to include a tag, simply add that tag name.
- to exclude a tag, use '!' as the prefix. E.g. '!develop'.

Signed-off-by: Sheng Chen <sheche@microsoft.com>
2022-08-26 13:54:13 +08:00
Sheng Chen 467c8c1a38
fix: Should remove description when display name is equal with label (#1450)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2022-07-12 13:26:27 +08:00
Sheng Chen fbf75384ff
chore(deps): Migrate to @vscode/test-electron (#1445)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2022-06-30 14:51:42 +08:00
Sheng Chen ea7ffb1472
fix: Line separators are missing in diff messages (#1444)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2022-06-29 15:29:42 +08:00
Sheng Chen dd14c48b1b
fix: Parameterized tests cannot be run when it's inner type (#1432)
Signed-off-by: sheche <sheche@microsoft.com>
2022-06-06 04:31:59 -07:00
fladdimir 882dac97c3
test: Add some unit-tests for invocations re-run (#1418)
Co-authored-by: Sheng Chen <sheche@microsoft.com>
2022-05-04 20:00:11 -07:00
Sheng Chen 7b8b5b02d6
fix: Always display the test message in the test's range (#1403)
Signed-off-by: sheche <sheche@microsoft.com>
2022-04-07 01:31:15 -07:00
Sheng Chen ae11aac824
fix: Find the location of inherited test methods (#1375)
- When append test messages, keep finding the test method from current
  type to all of its supertype.

Signed-off-by: sheche <sheche@microsoft.com>
2022-02-22 00:45:48 -08:00
Sheng Chen a23b4b8914
test: Add tests for enabling tests (#1358)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2022-01-20 10:49:22 +08:00
Sheng Chen e3ac973678
refactor: Rename 'test target' to 'test subject' (#1338)
Signed-off-by: sheche <sheche@microsoft.com>
2021-11-22 09:24:29 +08:00
Sheng Chen b8b4625147
feat: Support 'go to test target' (#1336) 2021-11-17 17:31:17 +08:00
Sheng Chen f7a04fc692
feat: Support 'go to test' command (#1332) 2021-11-16 11:19:38 +08:00
Sheng Chen baaa1484dc
feat: Add 'modulePaths' to test configuration (#1329)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2021-11-04 12:26:02 +08:00
Sheng Chen d45b33aa58
feat: Support customize the classpath in test configuration (#1328)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2021-11-03 01:56:50 -07:00
Sheng Chen d1feb56af6
feat: Add 'preLaunchTask' to test configuration (#1327)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2021-11-02 16:13:16 +08:00
Sheng Chen 003f493a4d
feat: Add 'envFile' in test configuration (#1326) 2021-11-02 14:35:40 +08:00
Sheng Chen 1d4c8fdba4
feat: Show stack trace to where error occurs (#1323) 2021-11-02 14:27:09 +08:00
Sheng Chen c37a3315e0
test: Setup unit tests (#1324) 2021-10-26 14:52:48 +08:00
Sheng Chen fda8aff830
refactor: Adopt to the new VS Code tests API (#1257) 2021-08-03 13:49:53 +08:00
Sheng Chen e0de9672cc
refactor: Decouple the codelens provider and test file watchers (#1178) 2021-04-23 17:09:43 +08:00
Sheng Chen 39602e7e85
test: Refactor the test code (#1170) 2021-04-09 12:30:13 +08:00
Sheng Chen ea6b8d032d
refactor: Wrap open test document code as a command (#1103) 2020-11-20 13:05:58 +08:00
Sheng Chen beb200ce7f
feat: Support run tests from current file (#1066) 2020-10-15 14:54:15 +08:00
dependabot[bot] 7fd2b917b4
chore(deps-dev): bump junit in /test/test-projects/junit4 (#1077)
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sheng Chen <sheche@microsoft.com>
2020-10-14 10:29:59 +08:00
Kang Liu 09caa1c7c5
issue fix: test name is truncated when name contains rounded bracket(s) (#1071)
Co-authored-by: Sheng Chen <sheche@microsoft.com>
2020-10-14 08:39:09 +08:00
Sheng Chen 576b36cebd
bugfix: Cannot run parameterized test if the parameter has generic types (#1054) 2020-09-02 14:22:27 +08:00
Sheng Chen 3e8af8fe07
Get ASTNode from ASTProvider (#1052) 2020-08-31 17:37:09 +08:00
Sheng Chen 35934b2ca5
refactor: Lazy load the parameter types (#1044) 2020-08-13 16:49:57 +08:00
Sheng Chen 4fd98c2661
Improve the perf when resolving code lens in large java file (#1042) 2020-08-07 13:22:23 +08:00
Sheng Chen 8fdf60bd02
Fix the regression bug that cannot run all the tests (#1034) 2020-07-13 11:12:29 +08:00
Sheng Chen 1b9641c0fa
Support re-run tests (#1031) 2020-07-09 16:20:03 +08:00