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

Allow setting midje config via java system properties #483

Merged
merged 2 commits into from
Oct 17, 2022

Conversation

philomates
Copy link
Collaborator

addresses #482

allows for doing things like:

(System/setProperty "midje.check-after-creation" "false")

;; run Eastwood analysis...

(System/setProperty "midje.check-after-creation" "true")

this is important because things like Eastwood analysis will load a bunch of namespaces but we want to avoid executing midje facts tests because that slows things down / has side-effects.

Given a config key like :my-key, the way to override it via system properties would be to set "midje.my-key"

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

Successfully merging this pull request may close these issues.

1 participant