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
更新于 1/19/2026
星标
2
分支
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.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use approvaltests-java