Tim-B / grunt-aws-lambda

A grunt plugin to assist in developing functions for AWS Lambda.
MIT License
247 stars 100 forks source link

Add Expected Failures #88

Open CobaltDelta opened 8 years ago

CobaltDelta commented 8 years ago

As the commit message mentions, this adds an expect_fail option. The expectation is that this could be used in an "integration test" suite, of sorts.

CobaltDelta commented 8 years ago

That'll teach me to do quick-and-dirty edits.

Giving this a proper coat of polish; will update PR afterwards.

CobaltDelta commented 8 years ago

And in the course of actually reading things, I now see how lambda_invoke can be used in integration tests, even for expected failure cases.

I'll go ahead and add the appropriate integration tests, but if this PR is deemed unhelpful, feel free to discard it.