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

Make tests self-contained and suppress messages #39

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

nanxstats
Copy link
Collaborator

As recommended by R Packages, this PR makes all tests self-contained by moving the top-level logic that used to have awkward "test file scope" into individual tests. Now all test files only contain test_that() blocks.

I also used suppressMessages() to suppress the messages from the prepare_boxly() calls in tests.

@wangben718 wangben718 merged commit 5d259dd into main Feb 29, 2024
8 checks passed
@nanxstats nanxstats deleted the self-contained-tests branch February 29, 2024 23:09
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