Skip to main content
Testing utilities for cdktf applications.

Initializers


Static Functions


app

Returns an app for testing with the following properties: - Output directory is a temp dir.

optionsOptional


enableFutureFlags

appRequired


fakeCdktfJsonPath

appRequired


fullSynth

stackRequired


renderConstructTree

constructRequired

  • Type: software.constructs.IConstruct

setupJest

stubVersion

appRequired


synth

Returns the Terraform synthesized JSON.

stackRequired


runValidationsOptional

  • Type: java.lang.Boolean

synthHcl

Returns the Terraform synthesized JSON.

stackRequired


runValidationsOptional

  • Type: java.lang.Boolean

returnMetadataOptional

  • Type: java.lang.Boolean

synthScope

fnRequired


toBeValidTerraform

receivedRequired

  • Type: java.lang.String

toHaveDataSource

receivedRequired

  • Type: java.lang.String

resourceTypeRequired

  • Type: java.lang.String

toHaveDataSourceWithProperties

receivedRequired

  • Type: java.lang.String

resourceTypeRequired

  • Type: java.lang.String

propertiesOptional

  • Type: java.util.Map< java.lang.String, java.lang.Object >

toHaveProvider

receivedRequired

  • Type: java.lang.String

resourceTypeRequired

  • Type: java.lang.String

toHaveProviderWithProperties

receivedRequired

  • Type: java.lang.String

resourceTypeRequired

  • Type: java.lang.String

propertiesOptional

  • Type: java.util.Map< java.lang.String, java.lang.Object >

toHaveResource

receivedRequired

  • Type: java.lang.String

resourceTypeRequired

  • Type: java.lang.String

toHaveResourceWithProperties

receivedRequired

  • Type: java.lang.String

resourceTypeRequired

  • Type: java.lang.String

propertiesOptional

  • Type: java.util.Map< java.lang.String, java.lang.Object >