Skip to content

v0.7.3 — Test Tooling Improvements

Choose a tag to compare

@realwahl realwahl released this 30 Nov 01:54
· 7 commits to master since this release
  • Portable PHPUnit bootstrap to resolve autoloading both in-repo and from consumer projects.
  • PHPUnit config updated to use the new bootstrap and exclude integration/hardware-wallet groups by default.
  • Integration network setup script now uses the portable bootstrap and provides sane env fallbacks.

Details

  • Add tests/bootstrap.php to locate vendor/autoload.php in multiple contexts.
  • Update tests/phpunit.xml.dist with bootstrap="bootstrap.php" and default excluded groups.
  • Update tests/setup-integration-network.php to require the portable bootstrap and default:
    • STELLAR_HORIZON_BASE_URL → http://localhost:8000/
    • STELLAR_NETWORK_PASSPHRASE → Integration Test Network ; zulucrypto

Impact

  • No runtime or API changes; package behavior is unchanged.
  • Developer experience: tests run more smoothly both inside this repo and when invoked from a consumer project’s vendor/
    bin/phpunit.