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

#30 Create Unit Tests with Example Data #37

Merged
merged 27 commits into from
Apr 26, 2023

Conversation

kurtdunham
Copy link
Contributor

Created unit tests for tcplPlot.R, and tcplLoadData.R, and tcplConf.R

To run all test files in the test directory, use:

devtools::test()

To run the test files for a specific function, use:

usethis::use_test("tcplPlot")
devtools::test_active_file()

If the snapshot test image changes and needs review, use:

testthat::snapshot_review('tcplPlot/')

@kurtdunham kurtdunham linked an issue Apr 17, 2023 that may be closed by this pull request
Dunham and others added 2 commits April 18, 2023 16:38
…introduced infinite values in continuous x-axis", added unit test for no warning message
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kurtdunham what is the purpose of this file?

Copy link
Collaborator

@brown-jason brown-jason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving with skip test for snapshot for now and will create ticket to investigate

@kurtdunham kurtdunham merged commit 7f0193c into main Apr 26, 2023
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.

Create Unit tests with example data
2 participants