I don't have time to do a PR right now, but in case it helps (anyone).
This is a different version of the migration script which (in part) rewrites the "Should Contain" assertion. This particular version also updates notation to parameterized assertions.
Posted because it does away with the use of regular expressions to find statements to update which means it should be a more robust approach.
https://gist.github.com/indented-automation/aeb14825e39dd8849beee44f681fbab3
I don't have time to do a PR right now, but in case it helps (anyone).
This is a different version of the migration script which (in part) rewrites the "Should Contain" assertion. This particular version also updates notation to parameterized assertions.
Posted because it does away with the use of regular expressions to find statements to update which means it should be a more robust approach.
https://gist.github.com/indented-automation/aeb14825e39dd8849beee44f681fbab3