You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
8
8
## [Unreleased]
9
9
10
+
### Added
11
+
12
+
* Add support for Ceedling 1.0+ `report_tests_log_factory` plugin with CppUnit format.
13
+
* Add `ceedlingExplorer.debugTestExecutablePath` command that returns the full path to test executable.
14
+
* Add `isCeedling1Plus()` helper method for reliable Ceedling 1.0+ detection using plugin configuration.
15
+
* Add configuration documentation for both Ceedling versions in README.
16
+
17
+
### Fixed
18
+
19
+
* Fix compatibility with Ceedling 1.0+ (addresses issues #137 and #145).
20
+
* Fix debug executable path detection for Ceedling 1.0+ by checking for `report_tests_log_factory` plugin instead of relying on version string parsing.
21
+
* Ensure test executables in subdirectories (e.g., `test_name/test_name.out`) are correctly located for debugging.
Copy file name to clipboardExpand all lines: README.md
+38-1Lines changed: 38 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,9 @@ Run your [Ceedling](https://github.com/ThrowTheSwitch/Ceedling) tests using the
21
21
* Open the workspace or folder containing your Ceedling project
22
22
* Configure your `project.yml` path in the VS Code's settings if required [see below](#options)
23
23
* Configure the shell path where Ceedling is installed in the VS Code's settings if required (It might be required on Windows) [see below](#options)
24
-
* Enable the `xml_tests_report` Ceedling plugin in your `project.yml`[see the Ceedling doc](https://github.com/ThrowTheSwitch/Ceedling/blob/master/docs/CeedlingPacket.md#tool-element-runtime-substitution-notational-substitution)
24
+
* Enable the appropriate Ceedling XML report plugin in your `project.yml`:
25
+
***Ceedling 0.31.x**: Enable the `xml_tests_report` plugin [see the Ceedling doc](https://github.com/ThrowTheSwitch/Ceedling/blob/master/docs/CeedlingPacket.md#tool-element-runtime-substitution-notational-substitution)
26
+
***Ceedling 1.0+**: Enable the `report_tests_log_factory` plugin with `cppunit` report format (see [Configuration Examples](#ceedling-plugin-configuration))
25
27
* Open the Test view
26
28
* Run your tests using the  icons in the Test Explorer or the CodeLenses in your test file
27
29
@@ -92,6 +94,41 @@ Example pattern object (GCC compiler warnings):
92
94
}
93
95
```
94
96
97
+
### Ceedling Plugin Configuration
98
+
99
+
This extension supports both Ceedling 0.31.x and Ceedling 1.0+ by accepting either the legacy `xml_tests_report` plugin or the new `report_tests_log_factory` plugin with CppUnit format.
100
+
101
+
#### Ceedling 0.31.x Configuration
102
+
103
+
```yaml
104
+
:plugins:
105
+
:enabled:
106
+
- xml_tests_report
107
+
108
+
# Optional: customize report filename
109
+
:xml_tests_report:
110
+
:artifact_filename: report.xml # default
111
+
```
112
+
113
+
#### Ceedling 1.0+ Configuration
114
+
115
+
```yaml
116
+
:plugins:
117
+
:enabled:
118
+
- report_tests_log_factory
119
+
120
+
:report_tests_log_factory:
121
+
:reports:
122
+
- cppunit # Required for Test Explorer
123
+
124
+
# Optional: customize report filename
125
+
:report_tests_log_factory:
126
+
:cppunit:
127
+
:filename: cppunit_tests_report.xml # default
128
+
```
129
+
130
+
**Note**: The extension requires the **CppUnit XML format** specifically. While `report_tests_log_factory` can generate multiple report formats (JUnit, JSON, HTML), only the CppUnit format is compatible with this extension.
131
+
95
132
## Commands
96
133
97
134
The following commands are available in VS Code's command palette, use the ID to add them to your keyboard shortcuts:
0 commit comments