You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.
Hey,
today I faced the issue, that there is no way to define the order of the steps. And since runscope test steps can depend on each other, therefore the order is important.
Directive depends_on can be used to chain the dependency between tests and it works fine until you need to insert a new test between the existing ones and that doesn't work, because terraform will simply create the new test as last one.
The workaround I figured is to state the test order in the resources name and chain dependencies between each other like:
The serious drawback of such approach is if I want to put the update_test_02 between these two, I would need to rename all the tests after this one, incrementing the order in the resource name like:
In this case, terraform will remove all the test steps whose names were changed and create them in the correct order. But updating manually the name of all the test isn't a good option.
Do you have any ideas how that can be resolved?
The only viable idea I have is to introduce a new resource type called runscope_steps which actually takes the array of steps and preserves the order.
The text was updated successfully, but these errors were encountered:
Hey,
today I faced the issue, that there is no way to define the order of the steps. And since runscope test steps can depend on each other, therefore the order is important.
Directive
depends_on
can be used to chain the dependency between tests and it works fine until you need to insert a new test between the existing ones and that doesn't work, because terraform will simply create the new test as last one.The workaround I figured is to state the test order in the resources name and chain dependencies between each other like:
The serious drawback of such approach is if I want to put the
update_test_02
between these two, I would need to rename all the tests after this one, incrementing the order in the resource name like:In this case, terraform will remove all the test steps whose names were changed and create them in the correct order. But updating manually the name of all the test isn't a good option.
Do you have any ideas how that can be resolved?
The only viable idea I have is to introduce a new resource type called
runscope_steps
which actually takes the array of steps and preserves the order.The text was updated successfully, but these errors were encountered: