Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add acceptance tests for the update of an endpoint #34

Draft
wants to merge 3 commits into
base: feat/INT-4355/schema
Choose a base branch
from

Conversation

lriberon
Copy link
Contributor

@lriberon lriberon commented Jan 9, 2025

Description

The modification of an existing endpoint resource has been tested manually and an Acceptance test has been created for it.

How to test?

Run Acceptance tests

Run the make testacc command to run all the Acceptance Tests.

Manually

  1. Create a new endpoint resource (you can follow the steps provided in feat: add validations func & create acceptance tests #32 to create a new endpoint resource)
  2. Update the fields you want on this resource
  3. Check the information to be updated: terraform plan
  4. An error should be raised if there is a wrong input (e.g. wrong source value)
  5. If no error has been raised, you can apply your changes: terraform apply. You should see the output: `Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
  6. Check on the dashboard that the information are correctly updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant