iis
iis copied to clipboard
Check if @BeforeEach annotation is properly defined in TestWithSharedSparkSession and sub-classes
Originally reported by @mpol in https://github.com/openaire/iis/pull/1361#discussion_r909599096.
I guess it might be some leftover when the IIS test code base was switched from junit4 to junit5 as it seems the @BeforeEach default behavior has changed.
Nevertheless we should take a closer look and check if this "double indication" (by annotation in both super and sub classes and referencing with super()) in a sub-class method) of methods to be called before each test is really required.