Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>laravel-tddNew to Visual Studio Code? Get it now.
laravel-tdd

laravel-tdd

codeitlikemiley

|
4,344 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Laravel TDD Snippets

All of the Snippets Here are All Compiled From Either the Documentation of laravel or Inside the Illuminate\Foundation\Testing Which Ive Extracted Piece by Piece Some Of the Methods and Encapsulated it Here As Snippets. All the Prefixes Can be listed using tdd- then the type of traits/class found on test case.

List of All TDD prefixes for listing other prefixes

ttd-api
ttd-auth
ttd-console
ttd-db
ttd-exception
ttd-requests
ttd-responses
ttd-session
pu-array
pu-basic
pu-class-object
pu-files
pu-fixture
pu-object
pu-string
pu-upload
pu-xml-html

List of all Custom TDD methods

test_
tdd:true
tdd:equals
tdd:passport
tdd:factory-merge

Usage Example

  1. To list all tdd prefixes for api type tdd-api Then Press Enter

    Note: for custom tdd method you need to use tdd: but dont press enter since They Will be auto populated by vscode.

  2. A list of Prefixes will be Dropdown for you to Select With.

  3. Use Arrow Key To Select A Prefix then Enter

  4. Press CTRL + Space to Show The Snippets You Selected

  5. EDIT what you want to Edit on the Snippets Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft