Skip to content

Add test for metadata#254

Open
furtib wants to merge 4 commits into
Ericsson:mainfrom
furtib:metadata-test
Open

Add test for metadata#254
furtib wants to merge 4 commits into
Ericsson:mainfrom
furtib:metadata-test

Conversation

@furtib

@furtib furtib commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Why:
We want to test metadata contents before merging #79.

What:

  • Added tests for inspecting the contents of metadata files.

Addresses:
#45

@furtib furtib requested a review from Szelethus June 30, 2026 07:31
@furtib furtib self-assigned this Jun 30, 2026
@furtib furtib added the test ☑️ Adding or refactoring tests label Jun 30, 2026
@furtib furtib force-pushed the metadata-test branch 3 times, most recently from ee79817 to b88bc48 Compare June 30, 2026 07:56
Comment thread test/unit/metadata/BUILD

codechecker_test(
name = "codechecker_multiple_source",
tags = ["manual"],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lets mark explicitly that this is per_file = False. Also, the name should be changed to reflect this very important difference.

Comment thread test/unit/metadata/BUILD Outdated
unit_test(
name = "per_file_metadata_test",
data = [":per_file_multiple_source"],
excludes = [r"\"action_num\": 2,"],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I suppose this is the important bit, no? That this should be contains instead.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Great catch, fixed it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test ☑️ Adding or refactoring tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants