1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 21:34:03 +00:00
laravel-tips/content/tips/move-tests-to-separate-test-suites.md
lukinovec 1a53831d4d
Weekly thread #5-#7, use actual created_at timestamp in Thread creation (#27)
* Weekly thread #5

* Weekly thread #6 (before #5)

* Weekly thread #5

* Correct the weekly thread created_at timestamps

* Add actual created_at to Thread

* Weekly thread #7

* Fix weekly thread #7

* Remove thread #8
2022-02-21 17:24:21 +01:00

11 lines
No EOL
569 B
Markdown

---
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.