terraform-provider-octopusdeploy icon indicating copy to clipboard operation
terraform-provider-octopusdeploy copied to clipboard

Chore!: Move from TestMain to Test Suites

Open IsaacCalligeros95 opened this issue 7 months ago • 0 comments

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.

IsaacCalligeros95 avatar Jul 29 '24 04:07 IsaacCalligeros95