Skip to content

Commit aed828b

Browse files
authored
Merge pull request #77 from stbestichhh/patch/1.0.7
Patch 1.0.7-beta.1
2 parents 33dadfc + 54291aa commit aed828b

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## Patch 1.0.7.beta
8+
## Patch 1.0.7
99
### Added:
10-
* HTML reporting
10+
* HTML reporting as optional feature
1111

1212
## Patch 1.0.6
1313
### Updated:

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* [Command Line Interface](#cli)
2121
* [Installation](#installation)
2222
* [Usage](#usage)
23-
* [Configuration](#configuration)
23+
* [Configuration](#configuration)
2424
* [Contributing](#contributing)
2525
* [Changelog](#changelog)
2626
* [Authors](#authors)
@@ -213,6 +213,11 @@ Config properties:
213213
* ignore - files and directories to ignore
214214
* autoClearMocks - clears all created mocks after each test,
215215
* cacheWatcher - enables caching in watch mode, to run only new or changed tests
216+
* enableReporting - enables generating test reports.
217+
To enable it install a reporting package:
218+
```shell
219+
$ yarn add @stlib/testing-reporter
220+
```
216221

217222
Config file example:
218223

@@ -222,7 +227,8 @@ Config file example:
222227
"pattern": "test/**/*.{spec,test}.ts",
223228
"ignore": ["node_modules", "lib"],
224229
"autoClearMocks": true,
225-
"cacheWatcher": false
230+
"cacheWatcher": false,
231+
"enableReporting": false
226232
}
227233
```
228234

@@ -234,6 +240,7 @@ Config file example:
234240
- lib
235241
autoClearMocks: true
236242
cacheWatcher: false
243+
enableReporting: false
237244
```
238245

239246
* TS/JS:
@@ -245,6 +252,7 @@ Config file example:
245252
ignore: ["node_modules", "lib"],
246253
autoClearMocks: true,
247254
cacheWatcher: false,
255+
enableReporting: false,
248256
};
249257
export default config;
250258
```

bin/cli/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const handleOptionsAndExecuteAction = async (options: StestOptions) => {
2020
program
2121
.name('stest')
2222
.description('Testing framework for TypeScript Node.js applications')
23-
.version('1.0.7.beta');
23+
.version('1.0.7.beta.1');
2424

2525
program
2626
.option(

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stlib/testing",
3-
"version": "1.0.7.beta",
3+
"version": "1.0.7-beta.1",
44
"description": "Testing framework for TypeScript Node.js applications",
55
"main": "stutil.ts",
66
"types": "stutil.d.ts",

0 commit comments

Comments
 (0)