chiefmyron / phpunit-test-workbench

An extension to integrate PHPUnit with the native Test Explorer functionality within VS Code. Zero configuration required for common environment setups.
https://marketplace.visualstudio.com/items?itemName=chiefmyron.phpunit-test-workbench
MIT License
5 stars 2 forks source link

Detect tests identified with the @tests docblock annotation #21

Closed chiefmyron closed 2 years ago

chiefmyron commented 2 years ago

As per the PHPUnit documentation (https://phpunit.readthedocs.io/en/9.5/writing-tests-for-phpunit.html#writing-tests-for-phpunit) tests can be identified in two ways:

Currently, ony the first is supported. Need to update the test file parser to identify the @test annotation in a docblock, and then the related test method.