allero icon indicating copy to clipboard operation
allero copied to clipboard

Add basic e2e tests

Open dimabru opened this issue 2 years ago • 0 comments

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 avatar Oct 06 '22 12:10 dimabru