feat: Make QG runnable with 3.21, Add comprehensive unit tests and coverage reporting for WinCCOA_QualityChecks#124
Open
mPokornyETM wants to merge 6 commits intomainfrom
Open
feat: Make QG runnable with 3.21, Add comprehensive unit tests and coverage reporting for WinCCOA_QualityChecks#124mPokornyETM wants to merge 6 commits intomainfrom
mPokornyETM wants to merge 6 commits intomainfrom
Conversation
- Implement tests for QgVersionResult, CppCheckError, CppCheckSettings, Mapping, and String classes. - Enhance fileSys test suite to include additional assertions. - Update test configuration to include new test files. - Create a ToDo list for unit test coverage, highlighting existing and missing tests. - Modify executeTests script to support IDE startup option.
- Implemented unit tests for QgBase, QgMsgCat, and QgResultPublisher classes to enhance test coverage. - Updated the toDoTests.md file to reflect the new test coverage statistics, increasing coverage from ~33% to ~44%. - Modified testProj.unit.config to include new test files in the test execution. - Introduced a new JavaScript and TypeScript coverage report generator to merge coverage XML files and produce command-line reports. - Updated executeTests.cmd to automate the generation of coverage reports after test execution.
Collaborator
Author
|
Waiting for answer in #118 |
schijndelg
reviewed
Jan 30, 2026
...Projects/TfCustomizedQG/scripts/libs/classes/testFramework/testProject/HookTfTestProject.ctl
Outdated
Show resolved
Hide resolved
…MsgCat test assertion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Request for a change on public repository on CtrlppCheck
Basic information
Introduces a testing infrastructure with unit tests covering QualityGates components and a coverage reporting tool that outputs Cobertura-compatible XML.
Technical information
What's new:
devTools/ctlCoverageReport/coverage_report.js)Fixes:
executeTests.cmdfor the coverage script-fix Compatibility with WinCC OA 3.21 #118
Testing done
Executed:
executeTests.cmd -oaVersion 3.20 -oaTestRunId CommonConfiguration:
PACK_SEL: 2(database-free mode)Also provide very light way manual test with 3.21 version
Proposed upgrade guidelines
N/A
Localizations
Submitter checklist