Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpspec Skip Example Extension Laravel Package

graham-campbell/phpspec-skip-example-extension

PhpSpec extension that lets you skip spec examples via simple annotations. Add @require ClassOrInterface to skip all examples in a spec when a dependency isn’t available. Install with Composer and enable in phpspec.yml.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Supports optimizing test suite efficiency in PhpSpec-based projects by automatically skipping tests when dependencies (e.g., classes/interfaces) are missing, reducing false positives in CI/CD pipelines.
  • Enables a "buy" decision for a lightweight, annotation-driven solution instead of building custom test-skipping logic in-house.
  • Ideal for teams with conditional feature flags or optional integrations where certain tests should only run in specific environments (e.g., skipping tests for unused third-party integrations in production builds).

When to Consider This Package

  • Adopt when using PhpSpec (not PHPUnit) and requiring dynamic test skipping based on dependency availability.
  • Suitable for projects where annotation-based configuration aligns with existing testing practices and avoids complex conditional logic in test files.
  • Avoid if the project uses PHPUnit (this is PhpSpec-specific), if the package’s lack of recent updates (last release 2021) poses compatibility risks with current PhpSpec versions, or if test skipping needs are simple enough to handle via native
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport