Thanks for using and improving pwwka! If you'd like to help out, check out the project's issues list for ideas on what could be improved.
We're actively using Pwwka in production here at Stitch Fix and look forward to seeing Pwwka grow and improve with your help. Contributions are warmly welcomed.
If there's an idea you'd like to propose, or a design change, feel free to file a new issue or send a pull request:
- Fork the repo.
- Create a topic branch.
- Write tests.
- Implement your feature or fix bug.
- Add, commit, and push your changes.
- Submit a pull request.
- When in doubt, test it. If you can't test it, re-think what you are doing.
- Code formatting and internal application architecture should be consistent.
The tests assume that:
- Rabbit is running on port 10001
- Redis is running on port 10003
You can achieve this by using Docker and running docker-compose up
in the root of this directory. If you don't want to use Docker,
that's fine. You'll need to set PWWKA_RESQUE_REDIS_PORT
and PWWKA_RABBIT_PORT
in your environment to the ports where those services
are running.
Tests in spec/integration
are end-to-end tests that use Rabbita and attempt to assert behavior from the point of view of the application
owner. If you write tests here, depend on as few of Pwwka's internals as possible, and no mocking of anything.
Tests in spec/unit
are more traditional unit tests and should not require Rabbit or Redis to be running.