https://pulumi.com logo
#general
Title
# general
t

tall-monitor-77779

11/30/2018, 2:14 PM
guys, any examples of unit testing typescript projects with jest? (or any js testing framework for that matter)
w

white-balloon-205

11/30/2018, 7:53 PM
Today, the only test framework we have is the one we use internally which happens to use Go and
go test
, but can run tests against Pulumi applications written in any language. You can see an example of this here: https://github.com/pulumi/eks/blob/master/nodejs/eks/examples/examples_test.go We have plans to move to a model where we can enable any test framework within the language you are using to author your Pulumi applications to be used to author and run test - so jest, mocha, etc for Node. We expect to enable both tests of deployment, validation and tear down - along with offline validation that components will create the expected child resources with the expected inputs to validate logical correctness of complex components without the need to actually deploy to a cloud provider.
t

tall-monitor-77779

11/30/2018, 7:58 PM
brilliant, so I think this means sit tight for now with TypeScript based testing
10 Views