Skip to content

Fix 1065 to improve code coverage for with_opt.R to 100% (#1066)#1080

Merged
VincentGuyader merged 1 commit intodevfrom
dev_1065
Aug 8, 2023
Merged

Fix 1065 to improve code coverage for with_opt.R to 100% (#1066)#1080
VincentGuyader merged 1 commit intodevfrom
dev_1065

Conversation

@VincentGuyader
Copy link
Copy Markdown
Member

  • tests: add tests to increase test coverage
  • change filename: testthat style suggets naming "tests/test-with_opt.R" to test functions in a file named "R/with_opt.R"
  • improve tests for maintenance mode to see whether it works with setting options in a fresh golem
  • add tests for "SHINY_PORT"

Refs: #1065

  • tests: add tests to further increase coverage

Add a test for get_golem_options() function which was untested before.

  • tests: test with_golem_options() with print=TRUE
  • formatting with grk
  • update comments to explain the test
  • update the SHINY_PORT test to actually test the behaviour properly
  • add a new test to check whether print=TRUE works inside with_golem_options()

* tests: add tests to increase test coverage

- change filename: testthat style suggets naming "tests/test-with_opt.R" to test functions in a file named "R/with_opt.R"
- improve tests for maintenance mode to see whether it works with setting options in a fresh golem
- add tests for "SHINY_PORT"

Refs: #1065

* tests: add tests to further increase coverage

Add a test for get_golem_options() function which was untested before.

* tests: test with_golem_options() with print=TRUE

- formatting with grk
- update comments to explain the test
- update the SHINY_PORT test to actually test the behaviour properly
- add a new test to check whether print=TRUE works inside with_golem_options()
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