mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
Weekly thread #51
This commit is contained in:
parent
93b528cb9f
commit
179261fceb
19 changed files with 210 additions and 4 deletions
15
content/tips/use-skip-when-writing-tests-ahead-of-time.md
Normal file
15
content/tips/use-skip-when-writing-tests-ahead-of-time.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
title: 'Use skip() when writing tests ahead of time'
|
||||
tweet_id: '1479467933705195521'
|
||||
thread_slug: weekly-thread-2021-01
|
||||
author_username: bhaidar
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FHNHgg4VgAAFSzE.jpg'
|
||||
created_at: 2022-01-07T15:00:17+00:00
|
||||
slug: use-skip-when-writing-tests-ahead-of-time
|
||||
---
|
||||
🌶️ #Laravel #pestphp tip
|
||||
|
||||
If you like to plan your tests ahead of time and implement them one by one, you can always make use of a handy method `skip()` to tell the test runner to ignore those empty tests.
|
||||
|
||||
`skip()` accepts a callback too!
|
||||
Loading…
Add table
Add a link
Reference in a new issue