All notable changes to the "vectorcastTestExplorer" extension will be documented in this file.
- Ability to set a VCDB as default and include in the default CFG
- Ability to set VCDB option when creating new Projects / CFG files
- Redesigned new Project / new CFG webviews
- Added setting to allow equirements-driven test generation without passing of function definitions (for blackbox-style testing)
- Added new advanced LLM provider for use with Azure APIM
- Reorganized LLM providers (into common and advanced/uncommon)
- Added setting to allow toggling UUT stubbing for generated requirements-driven tests
- Added possibility to open up multiple workdpace folders
- Added Button to open up a Source File under Test from the Testing Pane
- The LLM compatibility mode is now correctly applied to pre-run model usability checks too
- Improved Reqs2x progress tracking to be more precise
- Added more detailed settings for some Reqs2x tools (including a compatibility mode to support LLM providers without structured outputs)
- Added support for environment variable expansion in TEST.CODED_TESTS_FILE paths.
- Enabled use of environment variables in CCAST.cfg for requirements logic.
- Reorganized requirement representation in WebViews
- Added the ability to generate a full Environment Report
- Enabled creation of a new environment in a freshly created project.
- Fixed an issue where
.tstscripts were being deleted after manual edits.
- Resolved path normalization issue when initializing environment data on Windows.
- Added the ability to create a new Project
- Added the ability to create new Compilers in a Project.
- Improved performance when initializing the extension
- Fixed autocompletion for uut_prototype_stubs.
-
Implemented Manage support (#253), including:
- Environment Management:
- Add existing environments to projects.
- Delete environments from a project.
- Create environments from source files.
- Build individual environments in isolation.
- Build / Execute Environments
- Compiler Integration:
- Create compiler instances from CFG configuration files.
- Remove compiler instances from the project.
- Testsuite Handling:
- Create and delete testsuites.
- Link and unlink environments to/from testsuites.
- Environment Management:
-
Implemented ability to load Test Scripts by saving the .tst file
- Implemented MCDC and MCDC+Statement Coverage (#243)
- Added ability to generate MCDC reports
- Fixed wrong Test Results message log (#248)
- Fix hover colours execution reports (#236)
- Fix View Test Results context menu (#237)
- Added support for utilising VectorCAST in server mode. See README section: "VectorCAST Data Server" for usage details.
- Improved coverage status bar messages (#211)
- Execution reports no longer generate text reports (#220) and now use a custom report (#231)
vsceis now installed locally (from vector-vscode-vcast'spackage.json) and not globally (#196)
- Added support for coded mocks. See README section: "Editing a Coded Test" for usage details.
- Enforced a minium VectorCAST version: 21, and added notification to user for older versions
- Removed an instance where the VectorCAST version mismatch error was displayed in the output pane #143.
- Fixed issue with the Test Pane not populating properly in some cases #149.
- The extension now ignores environment directories that are opened directly #173.
- Fixed an unnecessary update occurring during the insertion of ATG tests
- Improved color scheme for stdout/stderr from driver in execution reports
- Rearranged the extension options into General, and Build Environment section
- Added a new extension option for Coverage Kind to the Build Options
- Added support for environment variables in the Unit include path #96
- Forced Coded Tests entry in the test tree to be the first item in the function list
- Ran Prettier and xo linter on typescript files, and Black on Python files
- Added package-lock.json files which fixes some issues with non-deterministic test results
- Major code re-organization to improve flow and logical grouping
- Removed launch.json from the repo, and added a launch.json.example
- Improved validation of Unit Test Location option #76
- Handle the existing of "locked directories" in the Workspace #81
- Added support for JSON-C for VS Code files: launch.json, settings.json etc. #78
- Added support for relative paths to the coded test file in test script #106
- Fixed issue with unrecoverable link error after a coded test compile error #128
- Improved messages shown during ATG test generation to remove extra LF
- Added support for VectorCAST Coded Tests - see README.md for complete information
- Fixed bug with create environment when VectorCAST installation cannot be found #58
- Improved validation of VectorCAST installation option #61
- Improved colors for expected values in execution reports #64
- Added support for test script option IGNORE_NAME_VALUE_ERRORS #57
- Fixed bug with right click .env to build environment #67
- Fixed issue: Non testable function showing up in the test pane, and have flask icon in editor #12 #44
- Fixed issue: Improper handling of enviro builder exit code #50
- Added new right click menu choices for .vce (open environment) and .env (build environment) files #30
- Added new right click menu choice for test explorer tree to allow you to insert Basis Path and ATG tests #31
- Added Generate ATG and Generate Basis Path choices to the "flask+" icons in the text editor
- Added support for TEST.REQUIREMENT_KEY syntax, including a hover-over that displays the requirement text #34
- Improved the 'open settings' feature to default to the 'Workspace' tab
- Fixed issue: Add flexibility to environment creation #26
- Fixed issue: Cleanup of temporary VectorCAST files #27
- Fixed issue: Inconsistent activation of the extension #28
- Fixed Issue: 'Delete Test' not working for environment, unit, and subprogram tree nodes #41
- Fixed issue: Do not overwrite an existing
CCAST_.CFGif one exists #25
- Fixed issue: New test scripts should have TEST.NEW not TEST.REPLACE #20
- Fixed issue: Added ENVIRO.STUB: ALL_BY_PROTOTYPE to environment script #21
- Fixed issue: Execute error when enviro at root of workspace #22
- Added "Programming Languages" to the "categories" in the manifest so that the extension will get suggested for .tst files.
- Fixed issue: Hover over for anonymous structs and unions show internal type names #17
- Fixed stack trace display when VectorCAST environment version is incompatible with VectorCAST installation
- A "flask" icon is displayed for each function or method that is testable.
- To create a new test, right click on the icon and choose: "Add VectorCAST Test"
- Fixed issue: Auto completion not working properly in some cases #9
- Fixed issue: VectorCAST context menu is incorrectly added to non VectorCAST nodes #11
- Fixed test tree update issue: that caused the test tree to not update after a load or delete action. Caused by the VS Code 1.81 release.
- Added support for TEST.COMPOUND_ONLY in the script editor
- Included compound only tests in the test tree to allow editing
- Appended "[compound only]" to test names in the test explorer tree
- Added logic to skip execution of compound only tests
In some cases, the automatic save of the test script was not complete by the time clicast was called to load the script.
This option is new for VectorCAST 23 sp2
The VectorCAST installation location can now be provided to the extension using one of the following 3 methods, and will be checked for by the extension in the following order
- The path set in the extension option Vectorcast Installation Location
- The path set via the VECTORCAST_DIR environment variable
- The system PATH
- 1.0.0 - Initial Release
- 1.0.1 - Fixed repository link in README.md