You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<sup><ahref='/approvaltests-tests/src/test/java/org/approvaltests/ci/JavaVersionTest.testSupportedJavaVersions.approved.txt#L1-L1'title='Snippet source file'>snippet source</a> | <ahref='#snippet-approvaltests-tests/src/test/java/org/approvaltests/ci/JavaVersionTest.testSupportedJavaVersions.approved.txt'title='Start of snippet'>anchor</a></sup>
27
38
<!-- endSnippet -->
28
39
40
+
## What can it be used for?
41
+
42
+
Approval Tests can be used for verifying objects that require more than a simple assert. They also come prepackaged with utilities for some common java scenarios including
43
+
44
+
45
+
- HashMaps & Collections
46
+
- Long Strings
47
+
- Log Files
48
+
- JPanels
49
+
- Xml
50
+
- Html
51
+
- Json
52
+
- Getting *Legacy Code* under tests
53
+
54
+
Want to see more? Check out [Better Testing with Approvals](https://www.youtube.com/watch?v=QEdpE0chA-s)
You can watch a bunch of short videos on getting started and [using ApprovalTests in Java](https://www.youtube.com/playlist?list=PLFBA98F47156EFAA9&feature=view_all) at youtube.
111
+
112
+
*Note*: There are a lot of videos about ApprovalTests in .Net They are equally useful for understanding the concepts despite being in a different programming language.
113
+
114
+
## Podcasts
115
+
116
+
If you prefer auditory learning, you might enjoy the following podcast (Note: Some of these talk about the .net side)
0 commit comments