home/categories/testing/larseckart-dotfiles-agents-skills-approvaltests-java-skill-md
testingtesting-security

approvaltests-java

Write and maintain Java tests using ApprovalTests snapshot testing library. Use when: (1) Writing tests with `Approvals.verify()` or similar methods, (2) Testing complex objects, JSON, XML, HTML, or collections, (3) Verifying UI components (AWT/Swing), (4) Testing with combinations of inputs, (5) Configuring reporters, scrubbers, or options, (6) Managing `.approved.` and `.received.` files, (7) Using inline approvals, or (8) Working with `.approval_tests_temp` scripts.

LarsEckart
maintainer
LarsEckart
Updated 1/19/2026
Stars
2
Forks
2
quick start

Installation and usage

Write and maintain Java tests using ApprovalTests snapshot testing library. Use when: (1) Writing tests with `Approvals.verify()` or similar methods, (2) Testing complex objects, JSON, XML, HTML, or collections, (3) Verifying UI components (AWT/Swing), (4) Testing with combinations of inputs, (5) Configuring reporters, scrubbers, or options, (6) Managing `.approved.` and `.received.` files, (7) Using inline approvals, or (8) Working with `.approval_tests_temp` scripts.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use approvaltests-java