# PonyTest
<span class="source-link">[[Source]](src/pony_test/pony_test.md#L-0-297)</span>

Main test framework actor that organises tests, collates information and
prints results.


```pony
actor tag PonyTest
```

## Constructors

### create
<span class="source-link">[[Source]](src/pony_test/pony_test.md#L-0-325)</span>


Create a PonyTest object and use it to run the tests from the given
TestList


```pony
new tag create(
  env: Env val,
  list: TestList tag)
: PonyTest tag^
```
#### Parameters

*   env: [Env](builtin-Env.md) val
*   list: [TestList](pony_test-TestList.md) tag

#### Returns

* [PonyTest](pony_test-PonyTest.md) tag^

---

## Public Behaviours

### apply
<span class="source-link">[[Source]](src/pony_test/pony_test.md#L-0-337)</span>


Run the given test, subject to our filters and options.


```pony
be apply(
  test: UnitTest iso)
```
#### Parameters

*   test: [UnitTest](pony_test-UnitTest.md) iso

---

