Unit testing without a file system dependency - meet JimFS

Microservices in Java3 Min. 58 Sec. Published On July 05, 2017

Our project is about reading in files and processing them. When we write tests, we could of course simply write and read the files from our local harddrive, but that can get messy. Instead, I'll show you how to work with a fantastic little virtual file system, called JimFS, in this episode. You also learn about its advantages and disadvantages compared to your usual filesystems.

You need to signup to a paid plan in order to use watchlist, email functionality or track progress.

This video requires a marcobehler.com membership.

Get a free account and enjoy all free episodes - or - try a free 7 day trial of any paid plan to get access to all free and premium episodes, as well as source code.

Sign Up Now or Login