Skip to content

Convert test files from testsets to testitems #543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 30, 2025
Merged

Convert test files from testsets to testitems #543

merged 2 commits into from
Jul 30, 2025

Conversation

abelsiqueira
Copy link
Collaborator

@abelsiqueira abelsiqueira commented Jul 30, 2025

  • Replace @testset with @testitem in all test files
  • Break down nested testsets into individual, focused testitems
  • Add setup = [Common] to access shared test utilities
  • Maintain all test logic and assertions without changes
  • Improve test modularity for better VS Code integration

Files converted:

  • test-bad-usage-and-errors.jl: 3 testitems
  • test-consistency-with-copier-cli.jl: 5 testitems
  • test-bestie-specific-api.jl: 10 testitems
  • test-corner-cases.jl: 2 testitems

All 6,632 tests continue to pass after conversion.

🤖 Generated with Claude Code

Co-Authored-By: Claude [email protected]

- Replace @testset with @testitem in all test files
- Break down nested testsets into individual, focused testitems
- Add setup = [Common] to access shared test utilities
- Maintain all test logic and assertions without changes
- Improve test modularity for better VS Code integration

Files converted:
- test-bad-usage-and-errors.jl: 3 testitems
- test-consistency-with-copier-cli.jl: 5 testitems
- test-bestie-specific-api.jl: 10 testitems
- test-corner-cases.jl: 2 testitems

All 6,632 tests continue to pass after conversion.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Copy link

codecov bot commented Jul 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@abelsiqueira
Copy link
Collaborator Author

This first commit only refactored the tests with little modification. Append ?w=1 to the url in the files view to see the changes ignoring white spaces.

@abelsiqueira abelsiqueira marked this pull request as ready for review July 30, 2025 17:06
@abelsiqueira abelsiqueira merged commit 2d8700d into main Jul 30, 2025
13 of 14 checks passed
@abelsiqueira abelsiqueira deleted the testitem branch July 30, 2025 18: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