-
-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10879 from murdos/snaphot-assertions
Generator: add the ability to snapshot test generated files in module tests
- Loading branch information
Showing
14 changed files
with
919 additions
and
406 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package tech.jhipster.lite; | ||
|
||
import org.approvaltests.core.ApprovalFailureReporter; | ||
import org.approvaltests.reporters.*; | ||
|
||
/** | ||
* ApprovalTests.Java configuration. | ||
* */ | ||
public class PackageSettings { | ||
|
||
private static final String ApprovalBaseDirectory = "../resources"; | ||
private static final ApprovalFailureReporter UseReporter = new FirstWorkingReporter( | ||
new AutoApproveWhenEmptyReporter(), | ||
new DiffReporter() | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.