mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
13 lines
657 B
Markdown
13 lines
657 B
Markdown
---
|
|
title: 'Use test files to describe your thoughts about a specific feature — in full — before starting implementation'
|
|
tweet_id: '1451526388717133857'
|
|
thread_slug: weekly-thread-2021-42
|
|
author_username: laracasts
|
|
images:
|
|
- 'https://pbs.twimg.com/media/FCJX2LhXsAQZdJF.jpg'
|
|
created_at: 2021-10-22T12:30:33+00:00
|
|
slug: use-test-files-to-describe-your-thoughts-about-a-specific-feature-in-full-before-starting-implementation
|
|
---
|
|
Testing Tip: use a test class or spec file as a place to gather all of your thoughts about how a particular feature should behave. Then, write each as a pending test.
|
|
|
|
Here's an example from our upcoming "Feed" section.
|