<commit_before># Thorn

Thorn is composed of a set of helper abstractions built to ease the process of
setting up a SugarCRM's REST API testing environment and interacting with it.

## Prerequisites

You should be familiar with [mocha][mocha], [chai][chai], and [JavaScript Promises][google-js-promises].

## Setup

```javascript
const thorn = require('@sugarcrm/thorn');
const expect = require('chai').expect;
```

## Thorn.Fixtures

`Thorn.Fixtures` is an object that handles the setup and cleanup process for test sets. It provides methods for creating records, record-relationships, and deleting records in the database.

### Setup

```javascript
const Fixtures = thorn.Fixtures;
```
<commit_msg>Docs.md: Fix which expect we expect (#23)<commit_after># Thorn

Thorn is composed of a set of helper abstractions built to ease the process of
setting up a SugarCRM's REST API testing environment and interacting with it.

## Prerequisites

You should be familiar with [mocha][mocha], [chai][chai], and [JavaScript Promises][google-js-promises].

## Setup

```javascript
const thorn = require('@sugarcrm/thorn');
const chakram = require('chakram');
const expect = chakram.expect;
```

## Thorn.Fixtures

`Thorn.Fixtures` is an object that handles the setup and cleanup process for test sets. It provides methods for creating records, record-relationships, and deleting records in the database.

### Setup

```javascript
const Fixtures = thorn.Fixtures;
```

{'fraction_non_alphanumeric': 0.10233516483516483, 'fraction_numerical': 0.0013736263736263737, 'mean_word_length': 5.226495726495727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5569812', 'n_tokens_mistral': 446, 'n_tokens_neox': 412, 'n_words': 171}