August 9, 2023
Faster Rails system tests
Here's a tip for speeding up your Rails system test suite. You may well have a test helper to authenticate a user before continuing with your actual test. Something like this is typical: Instead of authenticating in every system test like this, it's possible to directly set a session cookie, saving a few steps in the process. Here's ho...
Read more