Why JUnit's Dynamic Tests ARE SO GOOD

Опубликовано: 11 Октябрь 2023
на канале: Marco Codes
4,241
140

We want to extract dimensions, dates and locations from image metadata, to display in our Google Photos Clone. But how on earth are we supposed to write tests for that, considering there are a huge variety of different cameras and mobile phones and they all store image metadata in different ways?

JUnit's Dynamic Tests to the rescue, which will give us a nice confidence baseline for our metadata extraction implementation!

► Previous Episode
How to Approach Java, Databases & SQL -    • How to Approach Java, Databases & SQL...  

► Source Repository
GitHub: https://github.com/marcobehlerjetbrai...
Branch: episode-7

► Timestamps
00:00 Intro
02:18 Metadata Extraction Implementation
03:44 Test Image Preparation
04:20 Inspecting Windows's Behavior
05:35 JSON Test Data
08:38 Writing Our Dynamic Test
18:58 Outro

► FOLLOW ME
https://www.marcobehler.com
  / marcobehler