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

Possible bug with move_shinytest2_tests() #93

Open
averissimo opened this issue Dec 1, 2022 · 0 comments
Open

Possible bug with move_shinytest2_tests() #93

averissimo opened this issue Dec 1, 2022 · 0 comments

Comments

@averissimo
Copy link
Collaborator

Should move_shinytest2_tests() always move the contents of the testing directory to <project_path>/tests instead of relying on the original name of the directory?

(I suspect there's a bug waiting to happen here, where the user has a name for that directory that is not "tests").

From my understanding, move_shinytest2_tests() relies on the parameter for the shinytests2 test directory to be exactly tests to work properly. If the directory is called tests_shinytests then it fails.

I've setup a branch with this example on the test app:

https://github.com/Appsilon/shiny.benchmark/tree/example_non_standard_name/tests/end2end/app

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

1 participant