{"id":18820701,"url":"https://github.com/valentinfunk/ba-monolith","last_synced_at":"2026-01-17T16:30:16.145Z","repository":{"id":76049975,"uuid":"60169014","full_name":"ValentinFunk/ba-monolith","owner":"ValentinFunk","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-22T14:16:26.000Z","size":130,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-30T03:27:33.000Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/ValentinFunk.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-01T10:50:27.000Z","updated_at":"2016-06-11T17:56:43.000Z","dependencies_parsed_at":"2023-06-12T12:45:31.527Z","dependency_job_id":null,"html_url":"https://github.com/ValentinFunk/ba-monolith","commit_stats":null,"previous_names":["valentinfunk/ba-monolith"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinFunk%2Fba-monolith","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinFunk%2Fba-monolith/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinFunk%2Fba-monolith/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinFunk%2Fba-monolith/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ValentinFunk","download_url":"https://codeload.github.com/ValentinFunk/ba-monolith/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239758832,"owners_count":19692034,"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":[],"created_at":"2024-11-08T00:29:33.594Z","updated_at":"2026-01-17T16:30:16.060Z","avatar_url":"https://github.com/ValentinFunk.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample Laravel Application with Codeception tests.\n\n[![Build Status](https://travis-ci.org/janhenkgerritsen/codeception-laravel5-sample.svg?branch=codeception-2.1)](https://travis-ci.org/janhenkgerritsen/codeception-laravel5-sample)\n\n### Setup\n\nYou can setup this sample manually or use [Vagrant](https://www.vagrantup.com/) to automatically set up a development environment for you.\n\n#### Manual\n- Clone repo\n- Create your .env file from the example file: `cp .env.testing .env`\n- Install composer dependencies: `composer install`\n- Create databases by creating the following files:\n    - `storage/database.sqlite`\n    - `storage/testing.sqlite`\n- Run the following commands:\n    - `php artisan migrate`\n    - `php artisan migrate --database=sqlite_testing`\n- Server: run `php -S localhost:8000 -t public`\n- Browse to localhost:8000/posts\n\n#### Vagrant\n- Clone repo\n- Cd into the cloned directory\n- Run vagrant up\n\nTo SSH into the machine to run your tests, run ```vagrant ssh```. You can access the app on the guest vm under http://192.168.10.10/.\n\n### To test\n\nRun Codeception, installed via Composer\n\n```\n./vendor/bin/codecept build\n./vendor/bin/codecept run\n```\n\n## Tests\n\nPlease check out some [good test examples](https://github.com/janhenkgerritsen/codeception-laravel5-sample/tree/codeception-2.1/tests) provided.\n\n### Functional Tests\n\nDemonstrates testing of [CRUD application](https://github.com/janhenkgerritsen/codeception-laravel5-sample/blob/codeception-2.1/tests/functional/PostCrudCest.php) with\n\n* [PageObjects](https://github.com/janhenkgerritsen/codeception-laravel5-sample/blob/codeception-2.1/tests%2Ffunctional%2F_pages%2FPostsPage.php)\n* [authentication](https://github.com/janhenkgerritsen/codeception-laravel5-sample/blob/codeception-2.1/tests%2Ffunctional%2FAuthCest.php) (by user, credentials, http auth)\n* usage of session variables\n* [routes](https://github.com/janhenkgerritsen/codeception-laravel5-sample/blob/codeception-2.1/tests%2Ffunctional%2FRoutesCest.php)\n* creating and checking records in database\n* testing of form errors\n\n### API Tests\n\nDemonstrates functional [testing of API](https://github.com/janhenkgerritsen/codeception-laravel5-sample/blob/codeception-2.1/tests%2Fapi%2FPostsResourceCest.php) using REST and Laravel5 modules connected, with\n\n* partial json inclusion in response\n* GET/POST/PUT/DELETE requests\n* check changes inside database\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentinfunk%2Fba-monolith","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalentinfunk%2Fba-monolith","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentinfunk%2Fba-monolith/lists"}