<commit_before><a id="top"></a>

# Features

toc

## 6.0.1
### Prepare for Android
We have deprecated:
* `Approvals.verify(Image image)`
* `Approvals.verify(BufferedImage bufferedImage)`
* `Approvals.verify(Component c)`

These are now in the AwtApprovals class.

## Previous versions


## Customer Approvers

If you want to customize how approvaltests decides if two files are equal, you can pass in your own deciding function.

snippet: custom_approver


## Using Alternative Base Directory for Approval Output Files

**Q:** what if I want my output files to show up under the `/resources/` folder?

**A:** you can do that, [here's how](Configuration.md#alternative-base-directory-for-output-files)


## Using Subdirectories for Approval Output Files
Approved and received files can be stored in a preferred location. 
[More here](Configuration.md#using-subdirectories-for-approval-output-files)

## PackageLevelSettings

Package Level Settings allows for programmatic setting of configuration at the package level.
[More Here](Configuration.md#packagelevelsetting)

## Arlos Git Notation Prompt

This is a prompt that includes helper text and quick actions for use with [Arlo's Commit Notation](https://github.com/RefactoringCombos/ArlosCommitNotation).
It is currently the default option for TCR and will produce a window that looks like:

![prompt](/approvaltests/src/test/java/machine_specific_tests/approvaltests/testcommitrevert/ArlosGitNotationPromptTest.test.Mac_OS_X.approved.png)



## Faster Test Commit Revert (TCR)

The startup time for swing is around 3 seconds (on my mac). This is painfully slow in some situations. 
FasterTestCommitRevertRunner & FasterTestCommitRevertTest Solve this by shelling out to applescript, which 
brings the time down to a few milliseconds. 

Note: this currently only works on mac and will default to the normal swing otherwise. 

## Test Commit Revert (TCR)<commit_msg>d fixed dead image<commit_after><a id="top"></a>

# Features

toc


## 6.0.1
### Prepare for Android
We have deprecated:
* `Approvals.verify(Image image)`
* `Approvals.verify(BufferedImage bufferedImage)`
* `Approvals.verify(Component c)`

These are now in the AwtApprovals class.

## Previous versions


## Customer Approvers

If you want to customize how approvaltests decides if two files are equal, you can pass in your own deciding function.

snippet: custom_approver


## Using Alternative Base Directory for Approval Output Files

**Q:** what if I want my output files to show up under the `/resources/` folder?

**A:** you can do that, [here's how](Configuration.md#alternative-base-directory-for-output-files)


## Using Subdirectories for Approval Output Files
Approved and received files can be stored in a preferred location. 
[More here](Configuration.md#using-subdirectories-for-approval-output-files)

## PackageLevelSettings

Package Level Settings allows for programmatic setting of configuration at the package level.
[More Here](Configuration.md#packagelevelsetting)

## Arlos Git Notation Prompt

This is a prompt that includes helper text and quick actions for use with [Arlo's Commit Notation](https://github.com/RefactoringCombos/ArlosCommitNotation).
It is currently the default option for TCR and will produce a window that looks like:

![prompt](/approvaltests-tests/src/test/java/org/approvaltests/machine_specific_tests/testcommitrevert/ArlosGitNotationPromptTest.test.Mac_OS_X.approved.png)



## Faster Test Commit Revert (TCR)

The startup time for swing is around 3 seconds (on my mac). This is painfully slow in some situations. 
FasterTestCommitRevertRunner & FasterTestCommitRevertTest Solve this by shelling out to applescript, which 
brings the time down to a few milliseconds. 

Note: this currently only works on mac and will default to the normal swing otherwise. 

## Test Commit Revert (TCR)
{'fraction_non_alphanumeric': 0.0774025974025974, 'fraction_numerical': 0.002077922077922078, 'mean_word_length': 5.201288244766506, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4930720', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1066, 'n_words': 432}