{"id":19179510,"url":"https://github.com/hypermedia-app/hypertest-docker","last_synced_at":"2026-06-22T14:32:12.593Z","repository":{"id":40291119,"uuid":"225212861","full_name":"hypermedia-app/hypertest-docker","owner":"hypermedia-app","description":"Docker images for running tests against Hypermedia APIs","archived":false,"fork":false,"pushed_at":"2023-03-04T05:19:43.000Z","size":1194,"stargazers_count":1,"open_issues_count":14,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T01:44:10.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/hypermedia-app.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-12-01T18:59:19.000Z","updated_at":"2021-12-19T17:00:56.000Z","dependencies_parsed_at":"2024-11-09T10:43:27.823Z","dependency_job_id":"2345a6db-7c33-4f7a-9810-27db40932ab0","html_url":"https://github.com/hypermedia-app/hypertest-docker","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/hypermedia-app/hypertest-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermedia-app%2Fhypertest-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermedia-app%2Fhypertest-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermedia-app%2Fhypertest-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermedia-app%2Fhypertest-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hypermedia-app","download_url":"https://codeload.github.com/hypermedia-app/hypertest-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypermedia-app%2Fhypertest-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34653712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":[],"created_at":"2024-11-09T10:43:22.863Z","updated_at":"2026-06-22T14:32:12.573Z","avatar_url":"https://github.com/hypermedia-app.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hydrofoil-docker\n\nDocker images for running tests against Hypermedia APIs\n\n## `hydrofoil/hydra-analyser`\n\nWraps [hydra-validator-analyse](https://www.npmjs.com/package/hydra-validator-analyse) which runs static analysis\nagainst [hydra-powered](http://www.hydra-cg.com) APIs.\n\n### Usage\n\nThis docker can be simply used directly by passing the APIs entrypoint URL:\n\n```bash\ndocker run -it --rm --network host hydrofoil/hydra-analyser http://localhost:12345/\n```\n\nThe entrypoint URL can also be passed in as an environment variable, for example in a `docker-compose.yml` file\n\n```yml\nversion: \"3\"\n\nservices:\n  analyzer:\n    image: \"hydrofoil/hydra-analyser\"\n    network_mode: \"host\"\n    environment:\n      ENTRYPOINT_URL: \"http://localhost:12345/\"\n```\n\nNote the use of `--network host` and `network_mode: \"host\"` in both examples to have the container access an app running\nlocally. Naturally, that won't be needed if analysing a remote, publicly available service.\n\n## `hydrofoil/hypertest`\n\nCompiles and runs [hypertest][hypertest] test scenarios.\n\n### Usage\n\nThe easiest way is to use docker-compose to mount a directory containing the test scenarios\nas `/tests` in the container.\n\n```yml\nversion: \"3\"\n\nservices:\n  e2e-tests:\n    image: \"hydrofoil/hypertest\"\n    network_mode: \"host\"\n    environment:\n      BASE_URI: \"http://localhost:12345/\"\n    volumes:\n      - ./tests:/tests\n```\n\nThe base URI can also be changed from the run command\n\n```bash\ndocker-compose run e2e-tests --baseUri http://dev-env.my.app/\n```\n\n#### Filtering tests to run\n\nTests can be filtered by a regular expression which is matched against the relative path to test files within\nthe `tests` directory.\nFor example, running from the above `docker-compose.yml`:\n\n```bash\ndocker-compose run e2e-tests --grep ^ProductsCollectionEndpoint/PostRequest_\n```\n\n#### Compile scenarios in-place\n\nBy default the tests will be compiled in a temporary path. An optional flag\ncan be set to have the test JSON files generated adjacent to the input files.\n\n```\ndocker-compose run e2e-tests --compileInPlace\n```\n\n[hypertest]: https://testing.hypermedia.app/dsl/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypermedia-app%2Fhypertest-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypermedia-app%2Fhypertest-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypermedia-app%2Fhypertest-docker/lists"}