Skip to content

Use TestItems.jl #78

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 3 commits into from
Sep 22, 2024
Merged

Use TestItems.jl #78

merged 3 commits into from
Sep 22, 2024

Conversation

JoshuaLampert
Copy link
Member

As discussed, I reimplemented the testing workflow by using TestItems.jl and TestItemRunner.jl, see also https://www.julia-vscode.org/docs/stable/userguide/testitems/. This makes local development of tests much more convenient and faster by being able to only run certain test items in VScode. I split up the test suite into multiple files because TestItemRunner.jl uses the file structure to group the different test items.

Copy link

codecov bot commented Sep 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.93%. Comparing base (b79fe28) to head (a124f3a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #78   +/-   ##
=======================================
  Coverage   90.93%   90.93%           
=======================================
  Files           7        7           
  Lines         353      353           
=======================================
  Hits          321      321           
  Misses         32       32           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mikeingold
Copy link
Collaborator

Does TestItems just automatically parse all of the other files under the tests directory? I'm surprised there's no need to include them.

@JoshuaLampert
Copy link
Member Author

Does TestItems just automatically parse all of the other files under the tests directory? I'm surprised there's no need to include them.

Yes, exactly.

@mikeingold
Copy link
Collaborator

LGTM, thanks!

@mikeingold mikeingold merged commit 7674006 into main Sep 22, 2024
13 checks passed
@mikeingold mikeingold deleted the testitems branch September 22, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants