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

Investigate running tests on installed bagel package #380

Open
alyssadai opened this issue Nov 7, 2024 · 0 comments
Open

Investigate running tests on installed bagel package #380

alyssadai opened this issue Nov 7, 2024 · 0 comments
Labels
phase:research involves researching information on a topic rather than implementing specific feature.

Comments

@alyssadai
Copy link
Contributor

From what we've seen, the CLIRunner used to "call" the CLI in tests does not seem to behave exactly the same as running the installed package (e.g., in terms of the expected path structure of modules vs. non-module files - in our test environment all files in the repo are made available to the test CLI app, unlike in the actual installation).

To avoid issues like ..., we should look into whether there's a way to force the tests to run on the installed CLI (even something silly like making an actual system call with subprocess or something - but I'm sure something smarter must exist too).

Originally posted by @surchs in #379 (review)

@alyssadai alyssadai added the phase:research involves researching information on a topic rather than implementing specific feature. label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
phase:research involves researching information on a topic rather than implementing specific feature.
Projects
Status: No status
Development

No branches or pull requests

1 participant