terraform-provider-octopusdeploy
terraform-provider-octopusdeploy copied to clipboard
Chore!: Move from TestMain to Test Suites
This PR moves from Test Main to Suites to setup tests. Test Main runs at the package and requires a flag to know whether to spin up the container or run against a local instance. We require this flag to avoid running container setup during test listing and splitting. With this setup creating new package like Schemas and adding tests requires a Test Main method that takes this flag. To avoid this we're moving to test suites, annoyingly like the TestMain approach test files are only shared within a package so any folders requiring integration tests will need a copy of this file. We make this a non _test file but for now with the old SDK and Framework folders holding all files this is being left as is for now.