-
Notifications
You must be signed in to change notification settings - Fork 0
feat: unit testing framework #48
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
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
01c6450
mvp for testing framework
akselthomsen 6b6b2e4
fix: use callr so covr environments are not overwriting each other
akselthomsen ffd6860
fix: add callr to wordlist
akselthomsen 39f6f7b
Merge branch 'main' into feat/component-unit-testing
89d73e1
init vignette
akselthomsen d5277c9
wip
akselthomsen c3728f9
fix: covr hack with defer
akselthomsen 6a13d00
feat: working tests in covr
akselthomsen 5a507ae
improve error message
akselthomsen 75a3f63
wip
akselthomsen 9595316
Merge branch 'main' into feat/component-unit-testing
akselthomsen 04ae750
use zephyr
akselthomsen 38543ae
wip
akselthomsen b88c166
cleanup
akselthomsen 657f7fd
fix validation
akselthomsen 6fff90b
wip: working use of callr::r_session
akselthomsen 03cb002
working test component
akselthomsen 9027ff0
fix returns
akselthomsen 23edf33
check implementation
akselthomsen e67e8ae
updated all tests
akselthomsen 09c2561
fix pkgdown
akselthomsen 4313311
remove expect_disjoint for older testthat versions
akselthomsen afbb74f
fix: remove comments
akselthomsen 3a94157
remove mroe comments
akselthomsen af26c71
Increment version number to 0.0.0.9017
akselthomsen f64ffb5
feat: update docs
akselthomsen 0df59e4
test coverage before eval
akselthomsen 068ec68
replace .self
akselthomsen 92a642a
fix: use domain
akselthomsen f3b2652
print method and extra testing
akselthomsen eb6b38d
fix ci
akselthomsen 0f453f9
fix remove standard
akselthomsen f25c8f9
fix formatting
akselthomsen 6ca000e
fix wording
akselthomsen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #' @title Options for mighty.component | ||
| #' @name mighty.component-options | ||
| #' @description | ||
| #' `r zephyr::list_options(as = "markdown", .envir = "mighty.component")` | ||
| NULL | ||
|
|
||
| #' @title Internal parameters for reuse in functions | ||
| #' @name mighty.component-options-params | ||
| #' @eval zephyr::list_options(as = "params", .envir = "mighty.component") | ||
| #' @details | ||
| #' See [mighty.component-options] for more information. | ||
| #' @keywords internal | ||
| NULL | ||
|
|
||
| zephyr::create_option( | ||
| name = "verbosity_level", | ||
| default = NA_character_, | ||
| desc = "Verbosity level for functions in mighty.component. See [zephyr::verbosity_level] for details." # nolint: line_length_linter | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.