Unit testing "Launcher" section needs update for JUnit 5
See original GitHub issueThe “Launcher” section in the README:
https://github.com/etcd-io/jetcd#launcher
seems to be out of date since now an EtcdClusterFactory
is used to create an EtcdCluster
.
I believe the example snippet should be the following and I would be glad to submit a PR if this all sounds right:
@Rule public final EtcdClusterResource etcd = EtcdClusterFactory.buildCluster("test-etcd", 1, false);
Client client = Client.builder().endpoints(etcd.getClientEndpoints()).build();
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
JUnit 5 User Guide
JUnit 5 requires Java 8 (or higher) at runtime. However, you can still test code that has been compiled with previous versions of...
Read more >What needs to be updated to make the JUnit5 test successful?
For this assignment, you will be creating unit tests using code to uncover errors for a mobile application. You will develop the contact...
Read more >A Guide to JUnit 5 - Baeldung
JUnit is one of the most popular unit-testing frameworks in the Java ecosystem. The JUnit 5 version contains a number of exciting ...
Read more >JUnit 5 Tutorial: Running Unit Tests With Gradle
This blog post describes how we can create a Gradle project that can compile and run unit tests which use JUnit 5.
Read more >Migrating from JUnit 4 to JUnit 5 | The IntelliJ IDEA Blog
Please note that JUnit 5 requires Java 8 (or higher) at runtime. ... A typical JUnit 4 test contains sections: code to run...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed #803
@lburgazzoli Finally updated
README.md
for Junit 5, please see the PR and let me know if needs any other changes (Y)