<commit_before>Burst
=====

A unit testing library for varying test data.



Usage
-----

Burst is a set of test runners which rely on enums for varying both the instantiation of test
classes and the methods inside of them.

Define an enum for the property you wish to vary.
```java
public enum Soda {
  PEPSI, COKE
}
```
The enum can be simple as above, or contain data and methods specific to what you are testing.
```java
public enum Sets {
  HASH_SET() {
    @Override public <T> Set<T> create() {
      return new HashSet<T>();
    }
  },
  LINKED_HASH_SET() {
    @Override public <T> Set<T> create() {<commit_msg>Deprecate in favor of TestParameterInjector<commit_after>Burst
=====

A unit testing library for varying test data.

**DEPRECATED**: Burst remains stable and functional, but you should check out [TestParameterInjector](https://github.com/google/TestParameterInjector) from Google which is like Burst++. Unless there are major bugs in Burst which necessitate a patch release, no new development will be occurring.



Usage
-----

Burst is a set of test runners which rely on enums for varying both the instantiation of test
classes and the methods inside of them.

Define an enum for the property you wish to vary.
```java
public enum Soda {
  PEPSI, COKE
}
```
The enum can be simple as above, or contain data and methods specific to what you are testing.
```java
public enum Sets {
  HASH_SET() {
    @Override public <T> Set<T> create() {
      return new HashSet<T>();
    }
  },
  LINKED_HASH_SET() {
    @Override public <T> Set<T> create() {
{'fraction_non_alphanumeric': 0.09125717932354818, 'fraction_numerical': 0.0, 'mean_word_length': 3.765957446808511, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 1, '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': '274277', 'n_tokens_mistral': 472, 'n_tokens_neox': 456, 'n_words': 216}