{"id":15226329,"url":"https://github.com/wavevision/nette-tests","last_synced_at":"2025-10-03T23:32:50.892Z","repository":{"id":37549155,"uuid":"214144175","full_name":"wavevision/nette-tests","owner":"wavevision","description":"🧰 PHPUnit extension for testing @nette applications","archived":true,"fork":false,"pushed_at":"2023-04-19T18:26:28.000Z","size":731,"stargazers_count":6,"open_issues_count":6,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-20T08:30:35.855Z","etag":null,"topics":["nette","nette-tests","phpunit","testing"],"latest_commit_sha":null,"homepage":"","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/wavevision.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-10-10T09:40:41.000Z","updated_at":"2024-07-28T14:32:50.000Z","dependencies_parsed_at":"2024-06-21T16:52:25.017Z","dependency_job_id":"e70065ad-762e-4b63-8c78-ccd7ce71ff2b","html_url":"https://github.com/wavevision/nette-tests","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavevision%2Fnette-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavevision%2Fnette-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavevision%2Fnette-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavevision%2Fnette-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wavevision","download_url":"https://codeload.github.com/wavevision/nette-tests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234817669,"owners_count":18891445,"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":["nette","nette-tests","phpunit","testing"],"created_at":"2024-09-28T20:04:35.982Z","updated_at":"2025-10-03T23:32:45.583Z","avatar_url":"https://github.com/wavevision.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/wavevision\"\u003e\u003cimg alt=\"Wavevision s.r.o.\" src=\"https://wavevision.com/images/wavevision-logo.png\" width=\"120\" /\u003e\u003c/a\u003e\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eNette Tests\u003c/h1\u003e\n\n[![CI](https://github.com/wavevision/nette-tests/workflows/CI/badge.svg)](https://github.com/wavevision/nette-tests/actions/workflows/ci.yml)\n[![Coverage Status](https://coveralls.io/repos/github/wavevision/nette-tests/badge.svg?branch=master)](https://coveralls.io/github/wavevision/nette-tests?branch=master)\n[![PHPStan](https://img.shields.io/badge/style-level%20max-brightgreen.svg?label=phpstan)](https://github.com/phpstan/phpstan)\n\n[PHPUnit](https://github.com/sebastianbergmann/phpunit/) extension for testing [Nette](https://github.com/nette/nette)\napplications.\n\n## Install\n\n```\ncomposer require --dev wavevision/nette-tests\n```\n\n## Configuration\n\nAdd callback for creating `Nette\\Configurator` to [bootstrap](tests/app/tests/bootstrap.php) for tests.\n\n## Features\n\n* [DI container](tests/app/tests/Models/ExampleModelTest.php) in tests, allow\n  services [injects](tests/app/tests/Models/ExampleModelTest.php) in tests\n* [presenter](tests/app/tests/Presenters/ExamplePresenterTest.php) testing\n* [form](tests/app/tests/Presenters/FormPresenterTest.php) submit testing\n\n### Presenter mapping\n\nThis testing suite lets you use your presenter classes to resolve `:Module:Presenter:action` mapping. This is achieved\nusing [nepada/presenter-mapping](https://github.com/nepada/presenter-mapping) extension which is registered in your\ntests DIC as `presenterMapping`.\n\nIf your tested app uses this extension for presenter mapping as well, **make sure you register it in your config with\nthe same name**.\n\n## Learn\n\nSee [this great talk](https://www.youtube.com/watch?v=E1r0EhTkWn4) by [Jakub Filla](https://github.com/jfilla) to learn\nbasic concepts of this extension.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavevision%2Fnette-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwavevision%2Fnette-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavevision%2Fnette-tests/lists"}