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

Added more CLI tests #368

Merged
merged 1 commit into from
Oct 21, 2016
Merged

Added more CLI tests #368

merged 1 commit into from
Oct 21, 2016

Conversation

JosephGJ
Copy link
Contributor

@JosephGJ JosephGJ commented Oct 21, 2016

Added more YAML files for the purpose of testing the CLI commands.

  • Stack
  • Stats
  • Logs (No Regex yet)

cli_test.go file edited:

  • Includes invalid sample test
  • Includes expected output test using regex

YAML files include expectation for comparing output.

to test

go test -v ./cmd/amp/cli

Copy link
Contributor

@subfuzion subfuzion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thanks @JosephGJ and @neha-viswanathan. Exactly what i wanted for now! 👍

@subfuzion subfuzion merged commit a77a0f7 into master Oct 21, 2016
@subfuzion subfuzion deleted the cli-command-tests branch October 21, 2016 22:42
@subfuzion subfuzion added this to the 0.2.1 milestone Oct 25, 2016
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.

2 participants