Skip to content

Conversation

stephybun
Copy link
Member

Based off of #431

TODOs:

  • Add additional test cases e.g. for ImportStateVerifyIgnore, SkipDataSource, ExpectError?

@stephybun stephybun requested a review from a team as a code owner March 5, 2025 11:03
Comment on lines -439 to -450
confRequest := teststep.PrepareConfigurationRequest{
Directory: step.ConfigDirectory,
File: step.ConfigFile,
Raw: mergedConfig,
TestStepConfigRequest: config.TestStepConfigRequest{
StepNumber: stepIndex + 1,
TestName: t.Name(),
},
}.Exec()

appliedCfg = teststep.Configuration(confRequest)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this was only ever needed and done for the import tests, so I've opted to move this into testing_new_import_state.go and pass the appliedConfig through as a string so it can be easily appended/modified based on the import mode/kind we're using in the test.

@stephybun stephybun mentioned this pull request Mar 5, 2025
5 tasks
@stephybun
Copy link
Member Author

Replaced by #442

@stephybun stephybun closed this Mar 5, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant