bbc / sqs-consumer

Build Amazon Simple Queue Service (SQS) based applications without the boilerplate
https://bbc.github.io/sqs-consumer/
Other
1.72k stars 331 forks source link

chore(ci): swapping examples for integration tests #355

Closed nicholasgriffintn closed 1 year ago

nicholasgriffintn commented 1 year ago

At the moment, we are doing a lot of manual testing to verify releases, while this works, it could be better.

For this reason, we should swap the examples directory for some integration tests using cucumber js.

Users can then use these integration tests to find out how they should use SQS Consumer within their packages.

I've set up an initial basic test in this PR, a few more should be added and built on as we go.

Changes:

codeclimate[bot] commented 1 year ago

Code Climate has analyzed commit 32a68b62 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 94.3% (0.0% change).

View more on Code Climate.