Open
Description
Describe the bug
Getting a Test Runner Failed
message on a PHP project.
To Reproduce
Requires PHP 8.2+ and Composer.
Steps to reproduce the behavior:
- Open an empty folder in VS Code
mkdir empty-project1 code empty-project1
- Run CodeRoad: Start from the Command Pallete.
- Hit Start New Tutorial
- Choose URL, and supply https://raw.githubusercontent.com/jcandan/learn-php-basics/refs/heads/main/tutorial.json
- Open terminal, and in this empty project folder, run
git init
. - Hit Start on the tutorial
- Supply an empty
index.html
file, and hit Run
See the Test Runner Failed message.
Expected behavior
To see that the solution should have passed:
- Clone the https://github.com/jcandan/learn-php-basics project locally
- Checkout the v0.1.0 branch, you'll be on the 1.1S solution commit
- Run
cd .stack-elevate/ && composer install && ./vendor/bin/phpunit
to prove the test runner should have worked
The TAP output shows that the test does pass.
Desktop (please complete the following information):
- Platfrom: MacBook Pro
- OS: macOS Sequoia
- Version 15.3
Node:
- Version v20.16.0
Git:
- Version 2.40.0
PHP:
- Version 8.4.3
Composer:
- Version 2.8.5
PHPUnit:
- Version 11.5.6
- nikeee/phpunit-tap TAP Package required by INIT commit
- The
phpunit.xml
configuration ensures the the TAP output - The
config.testRunner.args.tap
required configuration is blank since it is handled by the XML configuration.