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

Adding common code lines/expressions to @run_package_tests #75

Closed
SamuelBrand1 opened this issue Jul 5, 2024 · 2 comments
Closed

Adding common code lines/expressions to @run_package_tests #75

SamuelBrand1 opened this issue Jul 5, 2024 · 2 comments

Comments

@SamuelBrand1
Copy link

Hi everyone,

At the moment, there is an option to have default_imports true/false which engages using MyPackage (if detected) and using Test in every testitem. However, I don't see an option to include any other code expressions?

As an example, it would be nice to have a common rng for every test item rather than having to add plenty of boiler plate to potentially lots of tests?

@SamuelBrand1
Copy link
Author

So looking a bit deeper. Would this functionality be covered by test setup? e.g. #71 ?

@davidanthoff
Copy link
Member

Already tracked by #11.

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