Skip to content

Commit 3c328f7

Browse files
committed
fix: update Readme and Tests.fsx with minor adjustments
1 parent 592c21f commit 3c328f7

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

Readme.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ example is to modify the default runner to run tests in parallel:
208208

209209
```fsharp
210210
let parallelRunner = {
211-
new DefaultRunner(silentTapReporter, id) with
211+
new DefaultRunner(Reporters.TapReporter(), id) with
212212
override _.SequenceAsync args = Async.Parallel args }
213213
runTestSuiteCustom
214214
parallelRunner
@@ -218,6 +218,15 @@ runTestSuiteCustom
218218

219219
---
220220

221+
### 🏗️ Testing Sprout Itself
222+
223+
Sprout is tested using [Bash Automated Testing System](https://github.com/bats-core/bats-core).
224+
You can run the tests using the following command:
225+
226+
```bash
227+
bats .
228+
```
229+
221230
### 📦 Package Info
222231

223232
| | |

Tests.fsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ let asyncSuite = describe "Async Tests" {
102102

103103
// create a custom runner that runs tests in parallel
104104
let silentTapReporter = {
105-
new Reporters.TapReporter()
106-
with
107-
override _.ReportResult(_, _) = () }
105+
new Reporters.TapReporter() with
106+
override _.ReportResult(_, _) = () }
108107
let parallelRunner = {
109108
new DefaultRunner(silentTapReporter, id) with
110109
override _.SequenceAsync args = Async.Parallel args }

0 commit comments

Comments
 (0)