Development-Testing Workflow

Follow this cycle during development:

  1. When creating a new feature:

    • First write the factory for any new models

    • Then write the feature test (even before the controller)

    • Implement the controller to make the test pass

  2. When modifying a feature:

    • First update the relevant factory if model changes

    • Then update/add tests for the new behavior

    • Finally implement the code changes

Comments

Popular posts from this blog

Top Laravel Security Best Practices: How to Secure Your Web Application 🚀

Restoring Your Data in Xampp: A Step-by-Step Guide

Implement a real-time, interactive map