Unit testing without a file system dependency - meet JimFS

Microservices in Java‚óŹ3 Min. 58 Sec.

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 login or buy this course in order to use watchlist, email functionality or track progress.

This lesson is not available in preview.

You need to buy this course to watch it. You can always try the free preview episode, too.

Buy This Course or Free Preview