{"id":15040471,"url":"https://github.com/nbrowserkit/nbrowserkit","last_synced_at":"2025-04-10T00:23:38.923Z","repository":{"id":57023022,"uuid":"39340852","full_name":"NBrowserKit/NBrowserKit","owner":"NBrowserKit","description":"Implementation of Symfony's BrowserKit for Nette applications.","archived":false,"fork":false,"pushed_at":"2020-01-27T14:18:30.000Z","size":55,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T02:07:02.684Z","etag":null,"topics":["nette","nette-tester","symfony-browserkit"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NBrowserKit.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-19T16:41:02.000Z","updated_at":"2020-01-27T14:18:27.000Z","dependencies_parsed_at":"2022-08-23T13:51:01.392Z","dependency_job_id":null,"html_url":"https://github.com/NBrowserKit/NBrowserKit","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NBrowserKit%2FNBrowserKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NBrowserKit%2FNBrowserKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NBrowserKit%2FNBrowserKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NBrowserKit%2FNBrowserKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NBrowserKit","download_url":"https://codeload.github.com/NBrowserKit/NBrowserKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248132396,"owners_count":21053030,"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-tester","symfony-browserkit"],"created_at":"2024-09-24T20:44:38.815Z","updated_at":"2025-04-10T00:23:38.891Z","avatar_url":"https://github.com/NBrowserKit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NBrowserKit\n\n[![Build Status](https://travis-ci.org/NBrowserKit/NBrowserKit.svg?branch=master)](https://travis-ci.org/NBrowserKit/NBrowserKit)\n[![Current version](https://img.shields.io/packagist/v/vaclav-sir/n-browser-kit.svg)](https://packagist.org/packages/vaclav-sir/n-browser-kit)\n\nThis package implements [Symfony's BrowserKit](https://github.com/symfony/BrowserKit) Client for use with a [Nette](http://nette.org/) application.\n\n## Usage\n\n```php\n\n\t$client = new Client;\n\t$client-\u003esetContainer($container);\n\n\t$client-\u003erequest('GET', '/');\n\n\tAssert::same(200, $client-\u003egetResponse()-\u003egetStatusCode());\n\tAssert::contains('Hello World', $client-\u003egetResponse()-\u003egetContent());\n\n```\n\nYou can find more [examples in The Symfony Book](http://symfony.com/doc/current/book/testing.html#functional-tests).\n\nExample of usage with Nette and Nette Tester: https://github.com/VaclavSir/NBrowserKit-example\n\n## Running Tests\n\nTests for this package are written using [Nette Tester](http://tester.nette.org/) library. You can run them easily from the command line:\n\n```bash\n\n\tcomposer install --dev\n\tvendor/bin/tester tests\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbrowserkit%2Fnbrowserkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbrowserkit%2Fnbrowserkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbrowserkit%2Fnbrowserkit/lists"}