mirror of https://github.com/pulumi/pulumi.git
391fe212ae
This commit begins the process of documenting how we test Pulumi, from unit tests to language conformance. It's nowhere near complete yet but the various sections have been stubbed out and anything that already exists has been ported over and linked to other new pages where possible. This commit is a good example of where we can start to take advantage of Sphinx's rich cross-references, placing e.g. `README.md` files close to the things they document (such as `cmd/pulumi-test-language/README.md`) while folding them into a larger section on testing using Sphinx's tables of contents (TOCs). |
||
---|---|---|
.. | ||
testdata | ||
README.md | ||
alias_test.go | ||
analyzer_test.go | ||
continue_on_error_test.go | ||
delete_before_replace_test.go | ||
golang_sdk_test.go | ||
import_test.go | ||
loader_test.go | ||
parameterized_test.go | ||
pending_delete_test.go | ||
pending_replace_test.go | ||
provider_test.go | ||
pulumi_test.go | ||
refresh_legacy_diff_test.go | ||
refresh_test.go | ||
resource_reference_test.go | ||
retain_on_delete_test.go | ||
source_query_test.go | ||
step_generator_test.go | ||
target_test.go | ||
test_plan.go | ||
transformation_test.go | ||
update_plan_test.go |
README.md
(lifecycle-tests)=
Lifecycle tests
Lifecycle tests exercise the Pulumi engine and serve as a specification for the behaviours and interactions of the various features that define the lifecycle of a Pulumi program. This includes, but is not limited to:
- The operation(s) being executed (
up
,preview
, etc.) and the options passed to that operation (--target
,--target-dependents
, etc.). - The programs being executed -- their resources, invocations, and the various
options that might be associated with them (
parent
,retainOnDelete
, etc.). - The state of the program before and after operations are executed.