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 user friendly message in case invalid test path is defined under test configuration #129

Closed
avozicov opened this issue Jan 26, 2018 · 2 comments
Assignees

Comments

@avozicov
Copy link
Contributor

Expected result:

  • In case when an invalid test path is defined under test configuration there should be a console message about missing test files in the provided directory

e.x.

  root: './rds_restore'
  terraform:
    version: 0.11.0
    plan: false
    apply: false
    destroy: false
    test:
      mapping: './tests/mapping.json'
      plan: './tests/unit/invalid-test-dir/resources/' - validate the following path for unit tests 
      apply: './tests/e2e/invalid-test-dir/resources.' - validate the following path for e2e tests
@avozicov
Copy link
Contributor Author

Test Passed
Acceptance Criteria:

  • Path validation should be implemented when running tests with recink run terraform command and in case if invalid path has been provided in config - user friendly message is expected to be displayed in console

@eistrati
Copy link
Contributor

Checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants