Skip to content

Commit 841764d

Browse files
committed
Adding the possibility to execute tests for
a specific puzzle or all.
1 parent 3d8e91a commit 841764d

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

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

7-
## [Unreleased]
7+
## [1.1.0] - 2022-02-28
88
### Added
99
- Tests for "Defibrillators".
1010
- Tests for "Horse-racing duals".
1111
- Tests for "MIME type".
1212
- Tests for "Temperatures".
1313
- Tests for "Blunder - episode 1".
14+
- Possibility to execute tests for a specific puzzle or all.
1415

1516
## [1.0.0] - 2022-02-26
1617
### Added

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,14 @@ Then, add your code to solve the puzzle.
3535

3636
## Test your solution
3737

38+
Executing tests for a specific puzzle :
39+
```shellsession
40+
user@host codingame-js-tests$ docker compose run --rm app npm test ./test/training/easy/unary/
41+
```
42+
3843
Executing all the tests :
3944
```shellsession
40-
user@host codingame-js-tests$ docker compose run --rm app npm test
45+
user@host codingame-js-tests$ docker compose run --rm app npm test ./test/**/*.js
4146
```
4247

4348

ci/mocha.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"spec": ["./test/**/*.js"],
32
"ui": "tdd",
43
"timeout": 6000
54
}

0 commit comments

Comments
 (0)