New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

ajthinking/pest-plugin-testables

Easily test Builders
5

Larablocks Analysis

ajthinking/pest-plugin-testables works with any PHP project: the latest release (v0.0.2, Jan 22, 2022) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Jan 22, 2022)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Jan 22, 2022.
  • No releases in the last 12 months.
  • First released: Jan 22, 2022.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require ajthinking/pest-plugin-testables
Latest Version:v0.0.2
PHP:^7.3 || ^8.0
License:MIT
Last Updated:Jan 22, 2022
Links: GitHub  ·  Packagist
Maintainer: ajthinking

Installation

composer require ajthinking/pest-plugin-testables --dev

Usage

test('it ignores excessive substraction', function() {
    testable(Inventory::class)
        ->setCount(1)
        ->substract(10)
        ->getCount()->assertEquals(0)
        ->add(2)
        ->getCount()->assertEquals(2)
});

How it works:

  • Provide testable with an instance or a resolvable classname.
  • Make preparatory calls as needed.
  • Reach for the property or method you want to assert against.
  • State the assertion. It will target the most recent operation.
  • After an assertion, it will return to the state before the assertion target, making it possible to chain more assertions.

Alternatives to ajthinking/pest-plugin-testables

pestphp/pest

The elegant PHP Testing Framework.

115,104,770 11,795
orchestra/pest-plugin-testbench

Pest plugin for Testbench

93,883 5
erikgaal/pest-plugin-sharding

Pest Plugin to split tests into multiple runs

616,586 2
nekofar/pest-plugin-slim

The Pest Slim Plugin

18,483 5
alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

6,140 27

Version History

Version Released PHP License
v0.0.2 ^7.3 || ^8.0 MIT
v0.0.1 ^7.3 || ^8.0 MIT