Development-Testing Workflow
Follow this cycle during development:
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
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
Post a Comment
What is your thought about this?