Skip to content

Test failure debugging #2

@rfay

Description

@rfay

I did just a bit of debugging of the tests failure.

  • I temporarily removed the release test
  • I temporarily commented out the second two lines of the teardown

Then I could see the project after it was created and see what happened that caused the container to exit.

I ran bats tests

ddevcd test-ddev-typo3-docs
ddev logs -s typo3-docs

The result is this, which probably means something important to you:

In SettingsBuilder.php line 133:

  [RuntimeException]
  Input directory "docs" was not found!
  Run "vendor/bin/guides -h" for information on how to configure this command
  .


Exception trace:
  at /opt/guides/vendor/phpdocumentor/guides-cli/src/Command/SettingsBuilder.php:133
 phpDocumentor\Guides\Cli\Command\SettingsBuilder->getSettings() at /opt/guides/packages/typo3-guides-extension/src/Command/RunDecorator.php:398
 T3Docs\GuidesExtension\Command\RunDecorator->internalRun() at /opt/guides/packages/typo3-guides-extension/src/Command/RunDecorator.php:179
 T3Docs\GuidesExtension\Command\RunDecorator->execute() at /opt/guides/vendor/symfony/console/Command/Command.php:326
 Symfony\Component\Console\Command\Command->run() at /opt/guides/vendor/symfony/console/Application.php:1096
 Symfony\Component\Console\Application->doRunCommand() at /opt/guides/vendor/symfony/console/Application.php:324
 Symfony\Component\Console\Application->doRun() at /opt/guides/vendor/symfony/console/Application.php:175
 Symfony\Component\Console\Application->run() at /opt/guides/vendor/phpdocumentor/guides-cli/bin/guides:68
 include() at /opt/guides/vendor/bin/guides:119

run [--output OUTPUT] [--input-file INPUT-FILE] [--exclude-path EXCLUDE-PATH] [--input-format INPUT-FORMAT] [--output-format OUTPUT-FORMAT] [--theme THEME] [--log-path LOG-PATH] [--fail-on-log] [--fail-on-error] [--progress|--no-progress] [--localization LOCALIZATION] [--minimal-test] [--watch] [--host HOST] [--port PORT] [--] [<input>]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions