Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Add basic e2e tests #113

Open
dimabru opened this issue Oct 6, 2022 · 0 comments
Open

Add basic e2e tests #113

dimabru opened this issue Oct 6, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dimabru
Copy link
Contributor

dimabru commented Oct 6, 2022

Is your feature request related to a problem? Please describe.
We currently don't have any tests to the cli. This makes it relatively unstable

Describe the solution you'd like
Add some basic e2e tests to go over some scenarios of usage of the cli
Tests should run on PR during the CI workflow

Run the following and make sure the output is correct

  1. Main flow
allero fetch github allero-io/demo
allero fetch gitlab allero/demo
allero validate
  1. Validate local folder
    Add some test workflows to a local folder and run
allero validate [path-to-local-folder]
  1. Fetch from remote url
allero fetch https://github.com/allero-io/demo https://gitlab.com/allero/demo
allero validate
@dimabru dimabru added the enhancement New feature or request label Oct 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant