Skip to content

Add SimpleCov with 80% threshold, improve test assertions#24

Merged
hebron-george merged 1 commit into
mainfrom
test_coverage
Apr 9, 2026
Merged

Add SimpleCov with 80% threshold, improve test assertions#24
hebron-george merged 1 commit into
mainfrom
test_coverage

Conversation

@hebron-george

Copy link
Copy Markdown
Owner

No description provided.

- Add simplecov gem and configure in spec_helper with minimum_coverage 80
- Suite currently sits at 97% coverage
- Replace weak expect(subject.class).to eq(Hash) assertions with
  expect(subject).to include("meta", "results") across all endpoint specs
- Add missing client accessor tests for animal_and_veterinary, tobacco, other
- Remove xit test for invalid query arguments (validation is not implemented)
  and replace with a test for the actual current behavior

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hebron-george hebron-george merged commit 81e3ad6 into main Apr 9, 2026
8 checks passed
@hebron-george hebron-george deleted the test_coverage branch April 9, 2026 07:02
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.

1 participant