{"id":20048001,"url":"https://github.com/reactiverse/reactiverse-junit5-extensions","last_synced_at":"2026-02-25T13:09:17.859Z","repository":{"id":42185184,"uuid":"253507232","full_name":"reactiverse/reactiverse-junit5-extensions","owner":"reactiverse","description":"Extensions for the Vert.x JUnit5 support","archived":false,"fork":false,"pushed_at":"2022-04-11T17:08:17.000Z","size":79,"stargazers_count":7,"open_issues_count":2,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-08T21:22:52.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reactiverse.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}},"created_at":"2020-04-06T13:33:33.000Z","updated_at":"2023-03-28T14:30:35.000Z","dependencies_parsed_at":"2022-09-16T11:52:16.076Z","dependency_job_id":null,"html_url":"https://github.com/reactiverse/reactiverse-junit5-extensions","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactiverse%2Freactiverse-junit5-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactiverse%2Freactiverse-junit5-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactiverse%2Freactiverse-junit5-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactiverse%2Freactiverse-junit5-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reactiverse","download_url":"https://codeload.github.com/reactiverse/reactiverse-junit5-extensions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252480463,"owners_count":21754777,"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-13T11:39:58.323Z","updated_at":"2026-02-25T13:09:17.853Z","avatar_url":"https://github.com/reactiverse.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"**THIS PROJECT IS NO LONGER MAINTAINED**\n\n# Reactiverse Vert.x JUnit 5 integration extensions\n\nThis project contains a set of extensions for writing JUnit 5 tests.\n\nWe currently offer:\n\n- `reactiverse-junit5-web-client`: support for injecting the Vert.x `WebClient` and assertions using `TestRequest`\n  - `reactiverse-junit5-web-client-rx-java` (RxJava bindings)\n  - `reactiverse-junit5-web-client-rx-java2` (RxJava2 bindings)\n  - `reactiverse-junit5-web-client-rx-java3` (RxJava3 bindings)\n\n## Web Client assertions\n\nTo start using it, add the following dependencies:\n\n```xml\n\u003c!-- Core dependency to the Vert.x JUnit5 integration library --\u003e\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.vertx\u003c/groupId\u003e\n  \u003cartifactId\u003evertx-junit5\u003c/artifactId\u003e\n\u003c/dependency\u003e\n\u003c!-- Vert.x Web Client extension --\u003e\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.reactiverse\u003c/groupId\u003e\n  \u003cartifactId\u003ereactiverse-junit5-web-client\u003c/artifactId\u003e\n  \u003cversion\u003e0.4.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nTo send a request to `localhost` and assert the result:\n\n```java\n@ExtendWith(VertxExtension.class)\npublic class LocalhostTest {\n\n  // Define the WebClient options\n  @WebClientOptionsInject\n  public WebClientOptions options = new WebClientOptions()\n    .setDefaultHost(\"localhost\")\n    .setDefaultPort(9000);\n\n  @Test\n  public void testLocalhost(Vertx vertx, VertxTestContext testContext, WebClient client) {\n    testRequest(client, HttpMethod.GET, \"/path\")\n      .expect(statusCode(200), statusMessage(\"Ciao!\"))\n      .send(testContext);\n  }\n}\n```\n\nFor more details on the available assertions, look at [`TestRequest` javadoc](https://www.javadoc.io/doc/io.reactiverse/reactiverse-junit5-web-client/latest/io/reactiverse/junit5/web/TestRequest.html).\n\n## License\n\n    Copyright (c) 2020 Red Hat, Inc.\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactiverse%2Freactiverse-junit5-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freactiverse%2Freactiverse-junit5-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactiverse%2Freactiverse-junit5-extensions/lists"}