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

Adding a test solution to the repo #27

Open
thirdgen88 opened this issue Jun 26, 2020 · 1 comment
Open

Adding a test solution to the repo #27

thirdgen88 opened this issue Jun 26, 2020 · 1 comment
Labels
feature Categorize as feature/enhancement for automatic release notes help wanted

Comments

@thirdgen88
Copy link
Owner

It is becoming more clear that automated testing would be helpful to code in the various configuration permutations that need to function within the capabilities of this image. Testing these manually is becoming burdensome. I'm going to tag this issue with help wanted, because I'll certainly welcome it, but mainly if anyone has any suggestions on tooling please let me know too. I'll get it done at some point in either case just to make my life easier. 😀 My current plan would be to probably leverage some Ansible to stage/conduct the testing.

@thirdgen88 thirdgen88 added the feature Categorize as feature/enhancement for automatic release notes label Jun 26, 2020
@slazon
Copy link

slazon commented Jun 3, 2021

If an Ignition API or an Ignition CLI existed (both to perform queries but also edit configurations) then you could base your testing on that, and also it would make Ignition commissioning 10x more flexible 🙂 .

Otherwise I'd build a test suite like this:

  • Step 1: create a test scenario.
  • Step 2: run a docker container for that scenario.
  • Step 3: inspect the docker container with docker commands in a way that verifies that your scenario is properly recreated in the running container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Categorize as feature/enhancement for automatic release notes help wanted
Projects
None yet
Development

No branches or pull requests

2 participants