{"id":15226345,"url":"https://github.com/thenlabs/pyramidal-tests","last_synced_at":"2025-10-03T23:32:53.574Z","repository":{"id":57068340,"uuid":"256219487","full_name":"thenlabs/pyramidal-tests","owner":"thenlabs","description":"A complementary framework for PHPUnit that focuses on simplicity, reusability, and storytelling.","archived":false,"fork":true,"pushed_at":"2023-03-31T19:46:53.000Z","size":850,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"2.0","last_synced_at":"2025-01-18T13:33:30.180Z","etag":null,"topics":["bdd","bdd-framework","bdd-style","bdd-style-testing-framework","php","phpunit","phpunit-extension","phpunit-tests","testing-framework"],"latest_commit_sha":null,"homepage":"https://pyramidal-tests.thenlabs.org","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"andaniel05/PyramidalTests","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thenlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-16T13:14:33.000Z","updated_at":"2023-10-04T13:10:54.000Z","dependencies_parsed_at":"2023-01-30T18:45:23.280Z","dependency_job_id":null,"html_url":"https://github.com/thenlabs/pyramidal-tests","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenlabs%2Fpyramidal-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenlabs%2Fpyramidal-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenlabs%2Fpyramidal-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenlabs%2Fpyramidal-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thenlabs","download_url":"https://codeload.github.com/thenlabs/pyramidal-tests/tar.gz/refs/heads/2.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235204448,"owners_count":18952326,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bdd","bdd-framework","bdd-style","bdd-style-testing-framework","php","phpunit","phpunit-extension","phpunit-tests","testing-framework"],"created_at":"2024-09-28T20:04:42.334Z","updated_at":"2025-10-03T23:32:48.279Z","avatar_url":"https://github.com/thenlabs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003ePyramidalTests\u003c/h1\u003e\n\n### A complementary framework for PHPUnit that focuses on simplicity, reusability, and storytelling.\n\n#### If you like this project gift us a ⭐.\n\n\u003chr /\u003e\n\n## Documentation.\n\n- [English](https://pyramidal-tests.thenlabs.org/en/docs)\n- [Español](https://pyramidal-tests.thenlabs.org/es/docs)\n\n## Installation.\n\n    $ composer require --dev thenlabs/pyramidal-tests 2.0.x-dev\n\n\u003eThis project is still under development.\n\n## Example:\n\n```php\n\u003c?php\n// tests/test-it-is-created-a-product.php\n\ntestCase('it is created a product', function () {\n    setUp(function () {\n        $this-\u003eproduct = new Product();\n    });\n\n    test('the product has not name', function () {\n        $this-\u003eassertEmpty($this-\u003eproduct-\u003egetName());\n    });\n\n    test('not contains categories', function () {\n        $this-\u003eassertCount(0, $this-\u003eproduct-\u003egetCategories());\n    });\n\n    testCase('adds a category to the product', function () {\n        setUp(function () {\n            $this-\u003ecategory = $this-\u003ecreateMock(Category::class);\n            $this-\u003eproduct-\u003eaddCategory($this-\u003ecategory);\n        });\n\n        test('the product contains the category', function () {\n            $this-\u003eassertContains($this-\u003ecategory, $this-\u003eproduct-\u003egetCategories());\n        });\n    });\n});\n```\n\n## Executing:\n\n    $ ./vendor/bin/pyramidal --testdox\n\n\u003eThe `--testdox` argument is optional.\n\n## Result:\n\n\u003cpre class=\"text-white p-2\"\u003e\n\u003cfont color=\"#C4A000\"\u003e\u003cb\u003ePyramidalTests 2.x.x\u003c/b\u003e\u003c/font\u003e by Andy Daniel Navarro Taño and contributors.\nPHPUnit 9.5.x by Sebastian Bergmann and contributors.\n\n\u003cu style=\"text-decoration-style:single\"\u003eit is created a product\u003c/u\u003e\n\u003cfont color=\"#4E9A06\"\u003e✔\u003c/font\u003e the product has not name\n\u003cfont color=\"#4E9A06\"\u003e✔\u003c/font\u003e not contains categories\n\n    \u003cu style=\"text-decoration-style:single\"\u003eadds a category to the product\u003c/u\u003e\n    \u003cfont color=\"#4E9A06\"\u003e✔\u003c/font\u003e the product contains the category\n\nTime: 00:00.009, Memory: 6.00 MB\n\n\u003cspan style=\"background-color:#4E9A06\"\u003e\u003cfont color=\"#2E3436\"\u003eOK (3 tests, 3 assertions)\u003c/font\u003e\u003c/span\u003e\n\u003c/pre\u003e\n\n## Development.\n\n### Running the tests.\n\n    $ composer test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenlabs%2Fpyramidal-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthenlabs%2Fpyramidal-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenlabs%2Fpyramidal-tests/lists"}