Revert "Improve test coverage of FORM code"#337
Conversation
This reverts commit 67d1adc.
There was a problem hiding this comment.
Pull request overview
This PR reverts PR #333, which added test coverage for FORM code. The revert removes the test file (form_basics_test.cpp) and its CMake registration, and also reverts two code changes that were part of PR #333: removing inline keywords from factory functions in factories.hpp and changing the TEST_EXEC value from phlex::phlex back to phlex.
Changes:
- Removes the entire
test/form/form_basics_test.cpptest file (188 lines) - Removes the CMake test registration for the deleted test
- Reverts
inlinekeywords from factory functions inform/util/factories.hpp - Reverts TEST_EXEC value from
phlex::phlextophlexin the remaining form test
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| test/form/form_basics_test.cpp | Removes the entire test file that tested FORM basic operations |
| test/form/CMakeLists.txt | Removes test registration and reverts TEST_EXEC to phlex |
| form/util/factories.hpp | Removes inline keywords from factory function definitions |
| HANDBUILT | ||
| TEST_EXEC | ||
| phlex::phlex | ||
| phlex |
There was a problem hiding this comment.
The TEST_EXEC value should be phlex::phlex, not phlex. This is the established convention throughout the codebase. All other tests in test/benchmarks/, test/max-parallelism/, test/mock-workflow/, test/plugins/, and test/python/ use phlex::phlex as the TEST_EXEC value. This revert should not change this line; it was already correct before PR #333.
| phlex | |
| phlex::phlex |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #337 +/- ##
==========================================
- Coverage 82.24% 81.46% -0.78%
==========================================
Files 127 127
Lines 3103 3103
Branches 547 547
==========================================
- Hits 2552 2528 -24
- Misses 334 354 +20
- Partials 217 221 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 9 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
This looks fine for now. We may need to update the form test code in the future. |
Reverts #333