{"id":13410587,"url":"https://github.com/andaniel05/PyramidalTests","last_synced_at":"2025-03-14T16:32:30.842Z","repository":{"id":56947630,"uuid":"153110710","full_name":"andaniel05/PyramidalTests","owner":"andaniel05","description":"Extends applications of PHPUnit to the BDD field","archived":false,"fork":false,"pushed_at":"2023-06-29T20:56:39.000Z","size":708,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"2.0","last_synced_at":"2024-11-19T21:36:35.688Z","etag":null,"topics":["bdd","bdd-framework","bdd-style","bdd-style-testing-framework","bdd-tests","php","php7","phpunit","phpunit7"],"latest_commit_sha":null,"homepage":"https://pyramidal-tests.nbit.cu","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andaniel05.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-15T12:41:19.000Z","updated_at":"2023-07-03T12:34:29.000Z","dependencies_parsed_at":"2024-10-26T05:51:13.804Z","dependency_job_id":"1672f0e5-3054-4603-974b-29a82f584d50","html_url":"https://github.com/andaniel05/PyramidalTests","commit_stats":{"total_commits":39,"total_committers":2,"mean_commits":19.5,"dds":0.02564102564102566,"last_synced_commit":"2af60627115a247901f95a54904a33f58d73da92"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andaniel05%2FPyramidalTests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andaniel05%2FPyramidalTests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andaniel05%2FPyramidalTests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andaniel05%2FPyramidalTests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andaniel05","download_url":"https://codeload.github.com/andaniel05/PyramidalTests/tar.gz/refs/heads/2.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243610285,"owners_count":20318935,"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","bdd-tests","php","php7","phpunit","phpunit7"],"created_at":"2024-07-30T20:01:07.834Z","updated_at":"2025-03-14T16:32:30.811Z","avatar_url":"https://github.com/andaniel05.png","language":"PHP","funding_links":[],"categories":["Frameworks"],"sub_categories":["Telegram"],"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%2Fandaniel05%2FPyramidalTests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandaniel05%2FPyramidalTests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandaniel05%2FPyramidalTests/lists"}