Part 2: We're building a Google Photos clone and testing is damn hard! How do we test that our Java app spawns the correct ImageMagick processes? That the resulting thumbnails are the correct size and indeed thumbnails, not just random pictures of cats? How do we test different ImageMagick versions and operating systems? Find out in this episode!
► Source Repository
GitHub: https://github.com/marcobehlerjetbrai...
Branch: episode-2
► Timestamps
00:00 Intro
01:05 Setting Up JUnit & Writing the First Test Methods
04:19 Implementing ImageMagick Version Detection
10:32 Testing Trade-Offs
12:00 Implementing @EnabledIfImageMagickIsInstalled
16:05 Testing Successful Thumbnail Creation
23:59 Still Only Works on My Machine
25:53 Deployment
26:20 Final Testing Thoughts
27:31 What’s Next
► FOLLOW ME
https://www.marcobehler.com
/ marcobehler