Jimfs
failsafe
Our great sponsors
Jimfs | failsafe | |
---|---|---|
5 | 6 | |
2,378 | 4,098 | |
0.7% | 0.9% | |
8.5 | 5.4 | |
6 days ago | 3 months ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Jimfs
-
How to write unit tests in C++ relying on non-code files?
Java has in-memory file systems that are essentially geared for this exact use case, eg jimfs[0]. You create your filesystem and any files you need when your tests are starting up, and your classes talk to them rather than the “real” ones. Maybe a similar project exists for the C++ ecosystem?
[0] https://github.com/google/jimfs
- An in-memory file system for Java
-
Any library you would like to recommend to others as it helps you a lot? For me, mapstruct is one of them. Hopefully I would hear some other nice libraries I never try.
Recently been using JIMFS. Made my tests much faster and cleaner!
- An in memory file system
-
Working and unit testing with temporary files in Java
I use Google's JIMFS "Just In Memory Filesystem" https://github.com/google/jimfs in my unit tests and have been very happy. No need to clean something up that disappears as soon as the test is over. Let's you create unix or windows style filesystems and I've used it to test a disk space healthcheck because you can set a limit to the size of the filesystem it creates. Very flexible and easy to use.
failsafe
- Failsafe 3.2 is released, with new resilience policies
-
A tentative comparison of fault tolerance libraries on the JVM
A couple of libraries implement these features on the JVM. In this post, we will look at Microprofile Fault Tolerance, Failsafe and Resilience4J.
-
Handling JSOM without dependencies?
There are some nice libraries out there that shoot for having zero dependencies (e.g. Methanol, Failsafe) and posts about why it is a good idea for libraries to aim for zero dependencies (jOOQ blog post from 2016).
-
Failsafe 3.0 is released
https://failsafe.dev
-
Roast my github project... please?
If you still want to keep the retry, have a look at failsafe or resilience4j.
-
What are some open source applications which have a robust external API calls implementations ?
I like Failsafe personally. Nice clear API.
What are some alternatives?
Modern Java - A Guide to Java 8 - Modern Java - A Guide to Java 8
javaslang-circuitbreaker - Resilience4j is a fault tolerance library designed for Java8 and functional programming
Lanterna - Java library for creating text-based GUIs
Joda-Money - Java library to represent monetary amounts.
OpenRefine - OpenRefine is a free, open source power tool for working with messy data and improving it
Design Patterns - Design patterns implemented in Java
LightAdmin - [PoC] Pluggable CRUD UI library for Java web applications
sitemapgen4j - SitemapGen4j is a library to generate XML sitemaps in Java.
Codename One - Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.