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

Better tests for extension mechanism #211

Open
gustavdelius opened this issue Aug 19, 2021 · 0 comments
Open

Better tests for extension mechanism #211

gustavdelius opened this issue Aug 19, 2021 · 0 comments
Assignees

Comments

@gustavdelius
Copy link
Member

We need better tests of the extension mechanism. In particular we need tests for getDiet() and getEncounter() because @baldrech appears to have found a bug in them. Romain's example should form the basis of those tests. getDiet() has a very trivial test of its handling of extensions at

test_that("getDiet works with additional components", {
. Note how the functions needed in the test need to be set up in an environment.

getEncounter() does not have any tests of its handling of extensions. They should be added to the tests of its basic behaviour at

# getEncounter --------------------------------------------------------------

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

No branches or pull requests

2 participants