-
Epic
-
Resolution: Done
-
Major
-
None
-
None
-
Create acceptance tests for DevFiles
-
False
-
None
-
False
-
To Do
-
-
Epic Goal
- Create acceptance tests for all defiles for the
Why is this important?
- It reflects our effort to shift the paradigm. This allows us to find potential problems in the early phase for the https://github.com/devfile/developer-images and other projects.
Scenarios
- open workspaces in certain editors;
- execute each available command described in devfile from within the workspace.
Acceptance Criteria (Mandatory)
- We need to define which devfile or devfiles need to be checked and run. The test should pass. The main idea is to test images after each PR using GitHub infra (run minikube, set up CHE + just built image, test the image with all defiles)
Previous Work (Optional):
* Before we implemented the test codebase within GitHub issue: https://github.com/eclipse/che/issues/21514. There was an implemented generator for the devfiles samples (https://github.com/eclipse/che/issues/22212) and run tests after generating each sample (https://github.com/eclipse/che/issues/22229)
- Currently, after global refactoring, I need to make sure that tests is run and work
- Check that it can work in GitHub Actions environment
- I made POC so the running of one devfiles is possible: https://github.com/devfile/developer-images/actions/runs/6590253842
- is related to
-
CRW-5300 Fix the DevfileAcceptanceTestAPI file for generating DevFiles from inbuid registry
- Closed