-
Notifications
You must be signed in to change notification settings - Fork 6
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
docs/ioc: expand Integration tests tutorial #134
docs/ioc: expand Integration tests tutorial #134
Conversation
Because the test is added by default, and run by default in GitLab CI, this means that by default the test will fail. With this change, the test fails in 10 seconds instead of 15 minutes, leaving more time for other jobs.
The simulator was rewritten in Lewis, which changed its default port to 9999, and is now case-sensitive.
Renamed to "Adding integration tests to your IOC", because an "Integration tests" user guide is planned, and to make it a bit clearer that it is a continuation of the StreamDevice tutorial. Previously the tutorial was a mix between a guide and tutorial, not really guided enough. Now the tutorial builds upon the StreamDevice tutorial, and shows a complete path to have a fully functional integration test. Also introduce how to *run* tests, both non-interactively and interactively. Added a quick reference of useful Python test functions. The tutorial was also updated due to some changes in the default template, and some renamed options.
Done! In a lot of cases by default, KVM is not available, so they can't run the test VM (thanks @vivienCEA for reporting) |
Nix will show an error running tests if KVM is not present.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me! Thanks!
Successfully created backport PR for |
Renamed to "Adding integration tests to your IOC", because an "Integration tests" user guide is planned, and to make it a bit clearer that it is a continuation of the StreamDevice tutorial.
Previously the tutorial was a mix between a guide and tutorial, not really guided enough.
Now the tutorial builds upon the StreamDevice tutorial, and shows a complete path to have a fully functional integration test.
Also introduce how to run tests, both non-interactively and interactively.
Added a quick reference of useful Python test functions.
The tutorial was also updated due to some changes in the default template, and some renamed options.
And some minor changes found during the rewriting of the tutorial.