Validation
Last updated
Last updated
After using the scaffold command to create a new application or editing an existing one such as adding extra services to it, next you need to determine if the setup is correct and functional or not.
It becomes difficult to know if everything is working properly as the number of services increases and almost impossible if the user isn't familiar with Stoobly or Docker networking.
A correct setup means:
All services and Stoobly components are running and reachable
stoobly-agent
containers and the Gateway are running and able to proxy requests
Shared resources such as fixtures, assets, and other files are mounted correctly and usable
The Stoobly UI is running and can query your data
Common Stoobly tasks such as recording requests, mocking and testing are all working
Having to validate dozens of components manually is frustrating and time-consuming. By running the scaffold validate command you can quickly and easily run a large suite of tests against your setup. These tests automate all of the manual validations and run within a few seconds compared to hours of debugging to find which component isn't working.
See this guide for more: