Migration from KUTTL¶
Overview¶
The chainsaw migrate kuttl tests
and chainsaw migrate kuttl config
commands are designed for the migration of KUTTL tests to Chainsaw.
-
migrates a KUTTL
TestSuite
to the corresponding ChainsawConfiguration
-
migrates KUTTL tests to the corresponding Chainsaw
Test
s
Reference documentation
You can view the full command documentation here.
Examples¶
Migrate tests¶
The command below will migrate KUTTL tests to Chainsaw and overwrite original files with converted ones.
chainsaw migrate kuttl tests path/to/kuttl/tests --save --cleanup
This will generate a chainsaw-test.yaml
for every KUTTL test discovered.
Migrate configuration¶
The command below will migrate a KUTTL test suite file to the corresponding Chainsaw Configuration
.
chainsaw migrate kuttl config path/to/kuttl/testsuite --save --cleanup
This will generate a .chainsaw.yaml
configuration file.