Skip to content

feat(tests): generate coverage reports for components - #142

Open
lolito93 wants to merge 1 commit into
SEN-1777-bus-going-out-of-scope-creates-weird-behavior-in-shellfrom
SEN-1744-components-not-tracked-in-test-coverage
Open

feat(tests): generate coverage reports for components#142
lolito93 wants to merge 1 commit into
SEN-1777-bus-going-out-of-scope-creates-weird-behavior-in-shellfrom
SEN-1744-components-not-tracked-in-test-coverage

Conversation

@lolito93

Copy link
Copy Markdown
Collaborator

Resolves SEN-1744

@EnriqueParodi EnriqueParodi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Manuel, can you please relay my feedback to the author?

The mechanism is good!

The problem is that sen_internal_configure_component also sets FOLDER "components", and in every component the call sits two lines after one that sets FOLDER "components/". The new call runs later and wins, so the IDE grouping flattens from components/ether, components/influx and so on into a single components folder.

73: set_target_properties(ether PROPERTIES FOLDER "components/ether")
75: sen_internal_configure_component(ether)

Same in explorer, influx, logmaster, py, recorder, replayer, rest and tracy. Shell differs slightly, its line at 47 is for terminal_lib.

Coverage only needs the set_property(GLOBAL APPEND ...) line. Either take the set_target_properties block out of the function, or keep it and delete the per-component FOLDER lines so the flattening is intended.

Thanks!

@EnriqueParodi
EnriqueParodi force-pushed the SEN-1777-bus-going-out-of-scope-creates-weird-behavior-in-shell branch from f23c14f to 5f0a992 Compare August 27, 2026 10:33
@EnriqueParodi
EnriqueParodi force-pushed the SEN-1744-components-not-tracked-in-test-coverage branch from 662f7c9 to 9c21163 Compare August 27, 2026 10:33
@EnriqueParodi
EnriqueParodi marked this pull request as draft August 27, 2026 14:28
@EnriqueParodi
EnriqueParodi marked this pull request as ready for review August 27, 2026 14:28
@EnriqueParodi
EnriqueParodi marked this pull request as draft August 27, 2026 15:14
@EnriqueParodi
EnriqueParodi marked this pull request as ready for review August 27, 2026 15:15
@luisgutierrezpereda
luisgutierrezpereda force-pushed the SEN-1777-bus-going-out-of-scope-creates-weird-behavior-in-shell branch from 5f0a992 to 75de554 Compare September 10, 2026 08:50
Coverage reporting covered the libraries only; component targets are now
included in the generated report.

Resolves SEN-1744
@luisgutierrezpereda
luisgutierrezpereda force-pushed the SEN-1744-components-not-tracked-in-test-coverage branch from 9c21163 to ea5eb93 Compare September 10, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants