Consolidate import_*_test.go files into resource_*_test.go files #4705
Labels
provider
Pertains to the provider itself, rather than any interaction with AWS.
technical-debt
Addresses areas of the codebase that need refactoring or redesign.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Milestone
Semi-related to #4676
There are currently over 1000 files in the
aws
package directory. Theimport_*_test.go
files, which were originally created to hold resource import tests, are inconsistently used between resources with many new resources/tests simply just implementing the additional importTestCase
. For now, let's just lift and shift the existing import tests from thoseimport_*_test.go
files into their equivalentresource_*_test.go
files.At some point we may want to consider migrating the "import" tests into just a new
TestCase
in their "regular" test counterparts so we are not continually spinning up twice the infrastructure and time just to test importing a (duplicate) resource.The text was updated successfully, but these errors were encountered: