to confirm, the `@aws-cdk/assert` package, and it’...
# sst
b
to confirm, the
@aws-cdk/assert
package, and it’s usage in docs like sst provides - is for interrogating the stack template, NOT deployed resources right? My team is writing some integration/e2e tests, and I think it would be nice to have some basic tests that poll/wait for some resources to be available - MAYBE it’s not required, but for completedness I want to confirm this is not behaviour of cdk/assert and/or is not best practice 🙏 thanks!
t
Yeah all of our tests in resources use that and it doesn't require anything to be deployed
we don't even have an AWS account 😂
b
lol
probably.. using something like https://github.com/Theodo-UK/sls-test-tools or https://github.com/erezrokah/aws-testing-library/blob/main/src/jest/README.md would solve my teams goals then - if resource doesn’t exist, interrogation would naturally fail.