eric-hansen / vscode-docker-phpunit

Run PHPUnit tests from a Docker container containing PHPUnit
GNU General Public License v3.0
1 stars 3 forks source link

Keyboard shortcut? #3

Open vrgenl opened 6 years ago

vrgenl commented 6 years ago

Hi i've switched to Docker for my development stack and I'm trying out vscode-docker-phpunit which is working nicely, i do have a question though.

With the other phpunit extensions I could assign a keyboard command cmd+t for testing a specific function within a test but here I could not get it working.

Is it supported? If not ill see if I can get it working as I don't have any experience with vs-code development.

Kind regards,

Rogier

eric-hansen commented 5 years ago

Sorry it took me way longer than I would like to admit in responding to this. Currently there's no keyboard shortcuts, but if you open up the command palette (cmd + shift + p by default) there's a command "Choose the test method, class or file to run". This will let you choose which function to test. There's some improvements I can make to this but have not gotten around to it yet.