Commit 50997a31 authored by Jean-Loup Haberbusch's avatar Jean-Loup Haberbusch
Browse files

Update Automatic-Tests.md

parent 6d265e2a
Pipeline #18522 passed with stages
in 26 seconds
......@@ -202,8 +202,8 @@ camitk_extension(...
)
```
- create a `asm-input.scxml` SCXML document that describes the action pipeline. To create a SCXML file, the best way to start is to run `camitk-imp`, select, set the parameters and apply the actions you want to perform in your test (do not forget to use the `Save` action to output some or all of the resulting component). Then go to the `File` menu and choose `Save History`. You will then have to manually edit the resulting XML file in order to fullfil the requirements (see below)
- rename all the input files needed to run your pipeline to the normalized form `input-#.xxx` and copy them to the `integration-test` subdirectory
- rename all the expected output files to compare with actual output to the normalized form `output-#.xxx` and copy them to the `integration-test` subdirectory
- rename all the input files needed to run your pipeline to the normalized form `input-#.xxx` and copy them to the `integration-testdata` subdirectory
- rename all the expected output files to compare with actual output to the normalized form `output-#.xxx` and copy them to the `integration-testdata` subdirectory
- run the CMake configuration again, et voilà, a new test called `extensiontype-integration-test` should be available
You can find an example in the `itkfilters` action extension of the `imaging` CEP (provided in the CamiTK Community Edition), and in the `image/reconstruction` action extension of the SDK.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment