moto/tests/terraformtests
2022-05-27 22:11:09 +00:00
..
bin
etc IAM - Implement ServiceLinkedRoles (#5089) 2022-05-03 09:44:47 +00:00
terraform-provider-aws@f34a786a66
test-fixtures
__init__.py
get_tf_services.py
get_tf_tests.py
README.md
terraform-tests.failures.txt
terraform-tests.success.txt KMS - add Grants API (#5177) 2022-05-27 22:11:09 +00: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