mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
Weekly thread #7
This commit is contained in:
parent
2065cd1268
commit
91cf331b3b
7 changed files with 79 additions and 0 deletions
11
content/tips/move-tests-to-separate-test-suites.md
Normal file
11
content/tips/move-tests-to-separate-test-suites.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: 'Move tests to separate test suites'
|
||||
tweet_id: '1495414937757253636'
|
||||
thread_slug: weekly-thread-2022-07
|
||||
author_username: JackEllis
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FLVuSJRVQAEQffe.jpg'
|
||||
created_at: 2022-02-20T15:07:59+00:00
|
||||
slug: move-tests-to-separate-test-suites
|
||||
---
|
||||
My Laravel tip of the day. If you're running slow tests that need to hit a third party API, you can break them out of your Features directory and put them in a dedicated test suite (e.g. External). Then you can run "phpunit --testsuite Feature", and your External tests won't run.
|
||||
Loading…
Add table
Add a link
Reference in a new issue