This page is woefully incomplete because we need your help to finish it.
In the future, this page will be home to the definitive guide to testing StimulusReflex. Until then, we're doing our best!
After many conversations and a few threats of potential future action, sometimes the only way to get started is to start. The stucture, order and content best suited to the topic of testing is still very much an open conversation.
Please do drop by #docs on the StimulusReflex Discord and offer your best ideas. Please don't open documentation PRs on Github, as we can't accept them for technical reasons.
Test environment setup
Setting up your test environment to run StimulusReflex is very similar to what you probably already have running in development. Please verify that Reflexes are working in development before troubleshooting your test environment.
Here is a checklist of what needs to be enabled, much of which is borrowed from the development environment setup:
Install Redis. Make sure that it's running and accessible to the Rails project and then include connectivity gems: