Skip to content
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

tests: fix broken tests #1120

Closed

Conversation

ilyaZar
Copy link
Contributor

@ilyaZar ilyaZar commented Nov 29, 2023

Small fix for tests/testthat/test-with_opt.R but improves codecov for R/with_opt.R from 9.68% to 100% and overall package covr a bit.

Fix #1119

@ColinFay
Copy link
Member

Note to self : have to look into this bcs I think running load_all() inside the tests themselves might have some weird side effects 🤔 Do we do this already?

@ColinFay
Copy link
Member

ColinFay commented Aug 7, 2024

Hey,

Thanks for working on this.

I've worked on a full refactoring of the test suite, so this won't be needed anymore :)

The two main goals of the test refactoring has been :

  • remove noisy prints to the console
  • don't manipulate the R session (no load_all() and set_here() and stuff like that), so it's more fast and reliable

@ColinFay ColinFay closed this Aug 7, 2024
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