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

Add fixtures and integrate with pytest #20

Open
benhoyt opened this issue Jan 23, 2025 · 0 comments
Open

Add fixtures and integrate with pytest #20

benhoyt opened this issue Jan 23, 2025 · 0 comments
Labels

Comments

@benhoyt
Copy link
Collaborator

benhoyt commented Jan 23, 2025

These would live either in a _fixtures.py imported into __init__.py, or perhaps better, a separate jubilant.fixtures module.

We at least need a fixture to create a model with a random model name and yield the jubilant.Juju instance. Not sure what other fixtures we should start with. Look at Pietro's conftest.py for inspiration.

Do we also need pytest command-line options, similar to Pietro's? IMO let's keep it more minimal for v1.

@benhoyt benhoyt added the medium label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant