terraform/internal
Martin Atkins 8330f8e991 internal/moduletest: Experimental module testing helpers
As part of ongoing research into Terraform testing we'd like to use an
experimental feature to validate our current understanding that expressing
tests as part of the Terraform language, as opposed to in some other
language run alongside, is a good and viable way to write practical
module integration tests.

This initial experimental incarnation of that idea is implemented as a
provider, just because that's an easier extension point for research
purposes than a first-class language feature would be. Whether this would
ultimately emerge as a provider similar to this or as custom language
constructs will be a matter for future research, if this first
experiment confirms that tests written in the Terraform language are the
best direction to take.

The previous incarnation of this experiment was an externally-developed
provider apparentlymart/testing, listed on the Terraform Registry. That
helped with showing that there are some useful tests that we can write
in the Terraform language, but integrating such a provider into Terraform
will allow us to make use of it in the also-experimental "terraform test"
command, which will follow in subsequent commits, to see how this might
fit into a development workflow.
2021-02-22 14:21:45 -08:00
..
copy deprecate helper/copy 2020-10-08 08:42:16 -04:00
depsfile fix file mode on lock file (#27205) 2020-12-18 11:51:59 -05:00
didyoumean didyoumean: move from "helper" to "internal" 2020-10-02 13:35:07 -07:00
earlyconfig internal/earlyconfig: staticcheck 2020-12-02 13:59:19 -05:00
getproviders Correct the spelling of heirarchy/hierarchy throughout 2021-02-05 15:07:04 +00:00
grpcwrap Add support for plugin protocol v6 (#27826) 2021-02-22 10:22:45 -05:00
helper Grammar nit: "setup" as a verb should be spelled "set up" 2021-01-26 20:39:11 +01:00
initwd use a single log writer 2020-10-19 14:29:54 -04:00
legacy Merge pull request #27692 from alexwlchan/abolish-the-heirarchy 2021-02-18 16:34:28 -05:00
logging Grammar nit: "setup" as a verb should be spelled "set up" 2021-01-26 20:39:11 +01:00
modsdir internal/modsdir: Fix Dropped Error (#24600) 2020-06-04 10:26:26 -04:00
moduletest internal/moduletest: Experimental module testing helpers 2021-02-22 14:21:45 -08:00
provider-simple Mildwonkey/providers interface renaming (#27805) 2021-02-18 10:13:43 -05:00
provider-simple-v6 Add support for plugin protocol v6 (#27826) 2021-02-22 10:22:45 -05:00
provider-terraform/main add grpcwrap.Provisioner 2020-12-02 12:45:00 -05:00
providercache Emit ProviderAlreadyInstalled when provider installed 2021-02-09 11:08:49 -05:00
provisioner-local-exec/main add grpcwrap.Provisioner 2020-12-02 12:45:00 -05:00
replacefile replacefile: don't create the temporary file in TMPDIR 2020-10-20 16:29:59 -07:00
terminal terminal: Helpers for doing fmt-ish operations on the streams 2021-02-12 11:24:13 -08:00
tfplugin5 regenerate plugin proto with correct tooling 2020-12-01 14:06:49 -05:00
tfplugin6 plugin-protocol v6 2021-02-05 13:19:55 -05:00
typeexpr internal/typeexpr: staticcheck 2020-12-02 13:59:19 -05:00