moto/tests/terraformtests
2023-03-10 22:45:21 -01:00
..
bin Service: Comprehend (Entity Recognizer) (#5530) 2022-10-04 20:26:17 +00:00
etc Terraform - Update to latest commit (#5982) 2023-02-25 19:24:03 -01:00
terraform-provider-aws@a8163ccac8 Terraform - Update to latest commit (#5982) 2023-02-25 19:24:03 -01:00
test-fixtures Terraform Tests - update to latest TF branch (#5031) 2022-04-16 10:02:57 +00:00
__init__.py Terraform Tests - update to latest TF branch (#5031) 2022-04-16 10:02:57 +00:00
get_tf_services.py Terraform Tests - update to latest TF branch (#5031) 2022-04-16 10:02:57 +00:00
get_tf_tests.py Terraform Tests - update to latest TF branch (#5031) 2022-04-16 10:02:57 +00:00
README.md Terraform - enable additional tests (#5035) 2022-04-17 22:34:48 +00:00
terraform-tests.failures.txt Terraform - Update to latest commit (#5982) 2023-02-25 19:24:03 -01:00
terraform-tests.success.txt SecretsManager - put/delete_resource_policy (#6049) 2023-03-10 22:45:21 -01:00

Documentation on how to run Terraform Tests can be found here:

http://docs.getmoto.org/en/latest/docs/contributing/development_tips/tests.html#terraform-tests

To see a list of available tests:

cd tests/terraformtests/terraform-provider-aws
go test ./internal/service/elb/ -v -list TestAcc

To run a specific test:

moto_server -p 4566
make terraformtests SERVICE_NAME=elb TEST_NAMES=NewTestName

To see the list of tests that currently pass:

python tests/terraformtests/get_tf_services.py
python tests/terraformtests/get_tf_tests.py ec2