--- title: Ick2 integration tests author: Lars Wirzenius version: work in progress ... # Introduction This is a set of integration tests for [Ick2][], a continuous integration system. Written for execution by [yarn][]. [Ick2]: http://ick.liw.fi/ [yarn]: https://liw.fi/cmdtest/ ## Running this test suite This test suite tests a deployed Ick2 controller and other components of Ick, but not the workers. The deployed Ick2 must not have any workers, and must be "empty", meaning, no project, pipelines, etc, must be defined. The test suit deletes everything. The `./check` script runs the tests. It can run only local tests, which are mainly unit tests and code health. EXAMPLE running the test suite in local mode ./check `./check` can be given extra arguments, which it will pass on to `yarn` to test a remote Ick instance, which may not have workers. The first argument is the controller URL: EXAMPLE running the test suite in local mode ./check https://ick-controller ./check https://ick-controller -v --tempdir tmp --snapshot The URL **must** be an `https` URL. `qvisqvetool` must be configured to suppot the given Ick instance, so that test clients for API use can be managed by yarn automatically.