Skip to content

A VS Code Snippets Extention for Laravel TDD and phpunit

Notifications You must be signed in to change notification settings

codeitlikemiley/laravel-tdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

A VS Code Snippets Extention for Laravel TDD and phpunit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published