Coruro
Coruro is a capybara-inspired testing library for emails and similar messages. It is designed to allow querying messages your application sent while running outside of your application process. This makes it easier to parallelize tests and shrink test suite startup time.
Coruro depends on Mailcatcher, which acts as a fake SMTP server for mail delivery purposes. Additional adapters will come later.
Features
- Query emails sent during a test run like any other API.
- Get a collection of messages or a single message back and make assertions.
- Manage Mailcatcher in your feature test suite without having to juggle processes.
Usage
We currently only have a Ruby implementation, but expect more languages as we build projects across more languages. Check your implementation's README for documentation:
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/wecohere/coruro. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct. See our contributing guide for more details.
License
The library is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the Coruro project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.