Skip to content

Commit

Permalink
Add month and quarter to parametrized test name so its distinguishable
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomTannenbaum committed Jan 22, 2025
1 parent 1d854a5 commit ac138cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ void getModelNameShouldReturnQuarter() {
assertEquals(QUARTER, quarterPersistenceService.getModelName());
}

@ParameterizedTest(name = "Should generate quarter with Cron-Job when current month is the last month of the current quarter")
@ParameterizedTest(name = "Should generate quarter with Cron-Job when current month is the last month of the current quarter (Month: {0}, Quarter: {1})")
@CsvSource(value = { "1,1,0", "2,1,0", "3,1,1", "4,1,0", "5,1,0", "6,2,1", "7,1,0", "8,1,0", "9,3,1", "10,3,0",
"11,1,0", "12,4,1" })
void shouldGenerateQuarterWithCronJob(int month, int quarterIndex, int amountOfInvocations) {
Expand Down

0 comments on commit ac138cb

Please sign in to comment.