https://pulumi.com logo
b

billions-lock-73409

02/05/2019, 9:01 PM
What is the standard approach to running tests of lambdas for example? If they are stored in the same repository there isn't any way of invoking just that lambda through Pulumi, so do people tend to launch a stack and run tests against that? Or break out the function logic to perform unit tests? I'm trying to understand the development lifecycle and what other people are doing
i

incalculable-sundown-82514

02/05/2019, 9:02 PM
I know that we personally do the former to test our own packages.
b

billions-lock-73409

02/05/2019, 9:04 PM
Is that manually or in a CI environment?
i

incalculable-sundown-82514

02/05/2019, 9:30 PM
@billions-lock-73409 In CI. We spin up some infrastructure, run some tests against them, and spin them down
b

billions-lock-73409

02/05/2019, 9:43 PM
Ok, gotcha. Thanks for the input