Skip to content

Commit

Permalink
Add checkpoint nr and name to alternative stub message
Browse files Browse the repository at this point in the history
  • Loading branch information
jacodg committed Jan 9, 2025
1 parent fb3e580 commit 88ddf24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/nl/nn/testtool/run/ReportRunner.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2020, 2022-2024 WeAreFrank!, 2018-2019 Nationale-Nederlanden
Copyright 2020, 2022-2025 WeAreFrank!, 2018-2019 Nationale-Nederlanden
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -152,8 +152,8 @@ public static String getRunResultInfo(Report reportOrig, Report reportResult) {
if (checkpoint.getStubNotFound() != null) {
stubsNotFoundResult++;
if (alternativeStubInfo.length() == 0) {
alternativeStubInfo = " (Alternative stub used for: "
+ checkpoint.getStubNotFound();
alternativeStubInfo = " (Alternative stub used for checkpoint nr " + checkpoint.getIndex()
+ " ("+ checkpoint.getName() + "): " + checkpoint.getStubNotFound();
} else if (alternativeStubInfo.length() > 200) {
alternativeStubSkipped++;
} else {
Expand Down

0 comments on commit 88ddf24

Please sign in to comment.