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

Use the Google Custom Search JSON API to retrieve images

Terminal commands relared to files in the Ubuntu