Open smilinazzo opened 6 months ago
@smilinazzo So if we have a different number of targets, I would make a more dynamic approach where I would store all the logs files in a directory and then iterate through each file and their contents to carry out my tests. For example if I want to check the validity of the data, I would iterate through each file compare each file content with the original input file.
https://github.com/Ikshi/assignment/blob/cdde9f40d9217ba45bb7440288e2cf3fa4e71ae3/test/test.js#L8
Say we have a different number of targets. How would you write these tests if we had 3 targets? 10? 50?