Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix test runner failure on PHP tutorials #630

Open
Assignees
ShMcK
Labels
bugSomething isn't working
@jcandan

Description

@jcandan

Describe the bug

Getting aTest Runner Failed message on a PHP project.

To Reproduce

Requires PHP 8.2+ and Composer.

Steps to reproduce the behavior:

  1. Open an empty folder in VS Code
    mkdir empty-project1code empty-project1
  2. Run CodeRoad: Start from the Command Pallete.
  3. Hit Start New Tutorial
  4. Choose URL, and supplyhttps://raw.githubusercontent.com/jcandan/learn-php-basics/refs/heads/main/tutorial.json
  5. Open terminal, and in this empty project folder, rungit init.
  6. Hit Start on the tutorial
  7. Supply an emptyindex.html file, and hit Run

See the Test Runner Failed message.

Expected behavior

To see that the solution should have passed:

  1. Clone thehttps://github.com/jcandan/learn-php-basics project locally
  2. Checkout the v0.1.0 branch, you'll be on the 1.1S solution commit
  3. Runcd .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
  • Thephpunit.xml configuration ensures the the TAP output
  • Theconfig.testRunner.args.tap required configuration is blank since it is handled by the XML configuration.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp