PHPackages                             net\_bazzline/php\_component\_testcase - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. net\_bazzline/php\_component\_testcase

ActiveLibrary[Testing &amp; Quality](/categories/testing)

net\_bazzline/php\_component\_testcase
======================================

php component generalize test case objects for knowledge tests

08PHP

Since Jun 6Pushed 11y ago1 watchersCompare

[ Source](https://github.com/stevleibelt/php_component_testcase)[ Packagist](https://packagist.org/packages/net_bazzline/php_component_testcase)[ RSS](/packages/net-bazzline-php-component-testcase/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Testcase Component
==================

[](#testcase-component)

The test case component is mention to generalize php objects that should represent common test cases.

Furthermore, this component provides interfaces you can use to create your own test cases.

The build status of the current master branch is tracked by Travis CI:

[![Build Status](https://camo.githubusercontent.com/dc22a06965c0e023fb81639c5298ed42f87ee36f4dfd088369fd5a9ca8ce80e3/68747470733a2f2f7472617669732d63692e6f72672f737465766c656962656c742f7068705f636f6d706f6e656e745f74657374636173652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/stevleibelt/php_component_testcase)

What Is A Test Case
-------------------

[](#what-is-a-test-case)

A test case is a combination of a question and a type of an answer.

Types Of Answers
----------------

[](#types-of-answers)

Following types of test cases are supported: \* Single Answer Test Case \* Multiple Answer Test Case \* Free Text Answer Test Case

What About Suites
-----------------

[](#what-about-suites)

Suites are combining available test cases is a feature.

Supported Formats
-----------------

[](#supported-formats)

I am using the [configuration converter component](https://github.com/stevleibelt/php_net_bazzline_component_converter "configuration converter component") to create test cases from different formats. This leads to the fact, that the format of your test case should be irrelevant. Right now, three formats are supported format factories: \* JSON \* Php Array \* YAML

The XML support is currently lacked implemented since xml needs a root tag/dom object. I have to adapt the configuration converter component for that.

Historical Notes
================

[](#historical-notes)

This component is a part of the initial test case framework.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/58451b041f6f5a38c7e62762c96d01f5e2bcac30e322707fe4760a82bccb6856?d=identicon)[artodeto](/maintainers/artodeto)

---

Top Contributors

[![stevleibelt](https://avatars.githubusercontent.com/u/2287220?v=4)](https://github.com/stevleibelt "stevleibelt (55 commits)")

### Embed Badge

![Health badge](/badges/net-bazzline-php-component-testcase/health.svg)

```
[![Health](https://phpackages.com/badges/net-bazzline-php-component-testcase/health.svg)](https://phpackages.com/packages/net-bazzline-php-component-testcase)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
