Skip to content

Comments

Unit test experiment - these were written by codex#335

Merged
jgallagher59701 merged 5 commits intomasterfrom
jhrg/more-unit-tests
Feb 24, 2026
Merged

Unit test experiment - these were written by codex#335
jgallagher59701 merged 5 commits intomasterfrom
jhrg/more-unit-tests

Conversation

@jgallagher59701
Copy link
Member

Branch: jhrg/more-unit-tests

An experiment at expanding unit test coverage using Codex - a ChatGPT model. I used it to analyze the entire libdap4 repo and choose new code to test based where tests would do the most good. One test, for DAPCache3 was bogus, since that class is not used, but one test found a bug in the check_uint64() function.

@sonarqubecloud
Copy link

return v;
}

return TRUE;
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah... That was an actual bug that the new tests caught.

Co-authored-by: Hannah Robertson <hannahilea@users.noreply.github.com>
@jgallagher59701
Copy link
Member Author

Good catch on the .gitignore.

@jgallagher59701 jgallagher59701 merged commit e84b573 into master Feb 24, 2026
3 of 4 checks passed
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.

2 participants