{"id":19988134,"url":"https://github.com/nbaldzhiev/asteroids-api-test-suite-task-solution","last_synced_at":"2026-05-06T09:39:42.843Z","repository":{"id":159721198,"uuid":"540009397","full_name":"nbaldzhiev/asteroids-api-test-suite-task-solution","owner":"nbaldzhiev","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-23T14:17:07.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T21:25:35.734Z","etag":null,"topics":["bash","docker","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/nbaldzhiev.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":"2022-09-22T14:00:21.000Z","updated_at":"2022-10-02T19:24:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a8cb0d0-9ca9-4e75-8553-3325c41067e9","html_url":"https://github.com/nbaldzhiev/asteroids-api-test-suite-task-solution","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nbaldzhiev/asteroids-api-test-suite-task-solution","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbaldzhiev%2Fasteroids-api-test-suite-task-solution","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbaldzhiev%2Fasteroids-api-test-suite-task-solution/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbaldzhiev%2Fasteroids-api-test-suite-task-solution/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbaldzhiev%2Fasteroids-api-test-suite-task-solution/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbaldzhiev","download_url":"https://codeload.github.com/nbaldzhiev/asteroids-api-test-suite-task-solution/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbaldzhiev%2Fasteroids-api-test-suite-task-solution/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"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","status":"online","status_checked_at":"2025-11-26T02:00:06.075Z","response_time":193,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bash","docker","python"],"created_at":"2024-11-13T04:41:42.421Z","updated_at":"2025-11-26T09:01:34.530Z","avatar_url":"https://github.com/nbaldzhiev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Asteroids API Test Suite\n\nA repository containing a Asteroids API Test Suite.\n\n\u003e **_NOTE:_** The bash scripts were developed on MacOS Monterey 12.6, so there could be some command differences with the shells of other OSs.\n\n## Usage\n\n**tldr:**\n\n```\n$ git clone git@github.com:nbaldzhiev/asteroids-api-test-suite-task-solution.git \u0026\u0026 cd asteroids-api-test-suite-task-solution\n$ ./runner.sh\n```\n\nWhat happens:\n1. A docker image gets built based on Dockerfile.\n  * By default, the docker image is built first, i.e. it is not implied that it already exists. This is configurable.\n2. A container gets started with the image.\n3. The tests are ran inside the container.\n4. An allure report server is started on the localhost based on the results copied from the container.\n  * By default, an Allure web server is started with the report from the test suite execution. This is configurable.\n5. The container is stopped and removed.\n\nIt's recommended to create a python virtual environment using Python 3.8+ and install the dependencies in the file requirements.txt to ensure that all required packages are available.\n\n## Examples\n\nThe script accepts two optional arguments:\n1. The first one controls whether the container image is first built or not. Set it to False in order not to\nbuild an image, i.e. ./runner.sh False. Otherwise, an image would be built first.\n2. The second one controls whether the allure report is opened as a web server. Set it to False in order not to\nstart an allure server with the report, i.e. ./runner.sh False False\n\n`$ ./runner.sh - Default. Builds the docker image and opens an Allure server with the report.`\n\n`$ ./runner.sh False - Don't build an image, start the Allure server.`\n\n`$ ./runner.sh False False - Don't build an image, don't start the Allure server.`\n\n`$ ./runner.sh True False - Build an image, don't start the Allure server.`\n\n`$ ./runner.sh True True - same as default ./runner.sh - builds a docker image and opens an Allure server.`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbaldzhiev%2Fasteroids-api-test-suite-task-solution","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbaldzhiev%2Fasteroids-api-test-suite-task-solution","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbaldzhiev%2Fasteroids-api-test-suite-task-solution/lists"}