3 ms·
If you want to implement this locally without using mini-test checkout test-queue by Aman Gupta at github. https://github.com/tmm1/test-queue https://github.co
by ryanong 11y ago
If you want to implement this locally without using mini-test checkout test-queue by Aman Gupta at github.
https://github.com/tmm1/test-queue https://github.com/tmm1/test-queue
One thing that really sped up our test suite was by creating an NGINX proxy that served up all the static files instead of making rails do it. This saved us about 10 minutes off our 30 minute tests.
- tmm1 11y agotest-queue supports minitest too, and follows the same basic design outlined in this article: a central queue sorted by slowest tests first, with test runners forked off either locally or on other machines to consume off the queue. We use test-queue in a dozen different projects at GitHub and most CI runs finish in ~30s. The largest suite is for the github/github rails app which runs 30 minutes of tests in 90s.
- ryanong 11y agoThanks for the awesome work you have done on test-queue. We have really appreciated it at SchoolKeep.
- bbuchalter 11y agoCould you share a bit more about this nginx proxy setup for static assets? Basically mimicking production env?
- bittersweet 11y agoSeconded, I have not thought about this before or come across this idea at all and certainly sounds interesting!
- beilabs 11y agoReally interested in this approach, can you point somewhere that talks further about this nginx proxy strategy?