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 CommandSpec and example usage #51

Merged
merged 1 commit into from
Jul 31, 2020
Merged

Add CommandSpec and example usage #51

merged 1 commit into from
Jul 31, 2020

Conversation

reibitto
Copy link
Owner

This adds a CommandSpec trait which creates the test environment. Each Command can have its own spec file extending this trait. I added a small example with EpochMillisCommandSpec.

@tuleism If you're going to use it for the Maven command, feel free to change testEnv to use the mock sttp client rather than the live one so you don't make real http requests.

@reibitto reibitto merged commit 5bfa089 into master Jul 31, 2020
@reibitto reibitto deleted the command-spec branch July 31, 2020 22:07
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