You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
All notable changes to this project will be documented in this file.
4
4
5
5
<!-- git-cliff-unreleased-start -->
6
+
6
7
## 0.5.7 - **not yet released**
7
8
8
9
### 🚀 Features
@@ -14,8 +15,8 @@ All notable changes to this project will be documented in this file.
14
15
15
16
- Bump version to test beta release ([1322d31](https://github.com/apify/apify-test-tools/commit/1322d31873b6d43e16a68e97bdc358752f813f79)) by [@metalwarrior665](https://github.com/metalwarrior665)
16
17
17
-
18
18
<!-- git-cliff-unreleased-end -->
19
+
19
20
# Changelog
20
21
21
22
## 0.5.5
@@ -61,6 +62,7 @@ feat: feat: add maxRetriesPerRequest test
61
62
## 0.2.3
62
63
63
64
### Lib
65
+
64
66
- feat: add `runId` option to test tests
65
67
- fix: PPE pass won't override overall pass
66
68
@@ -89,4 +91,4 @@ feat: feat: add maxRetriesPerRequest test
Copy file name to clipboardExpand all lines: README.md
+39-43Lines changed: 39 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,23 @@
5
5
## Getting Started
6
6
7
7
1. Install the package `npm i -D apify-test-tools`
8
-
- because it uses [annotate](https://vitest.dev/guide/test-context.html#annotate), `vitest` version to be at least `3.2.0`
8
+
- because it uses [annotate](https://vitest.dev/guide/test-context.html#annotate), `vitest` version to be at least `3.2.0`
9
9
- make sure that `target` and `module` in your `tsconfig.json`'s `compilerOptions` are set to `ES2022`
10
10
2. create test directories: `mkdir -p test/platform/core`
11
11
- core (hourly) tests should go to `test/platform/core`
12
12
- daily tests should go to `test/platform`
13
13
3. setup github worklows TODO
14
14
15
15
File structure:
16
+
16
17
```
17
18
google-maps
18
19
├── actors
19
20
└── src
20
21
└── test
21
22
├── unit
22
23
└── platform
23
-
├── core <- Core tests need to be inside core directory
24
+
├── core <- Core tests need to be inside core directory
24
25
│ └── core.test.ts
25
26
├── some.test.ts <- Other tests can be defined anywhere inside platform directory
26
27
└── some-other.test.ts
@@ -73,7 +74,7 @@ name: PR Test
73
74
74
75
on:
75
76
pull_request:
76
-
branches: [master]
77
+
branches: [master]
77
78
78
79
jobs:
79
80
buildDevelAndTest:
@@ -88,7 +89,7 @@ name: Release latest
88
89
89
90
on:
90
91
push:
91
-
branches: [master]
92
+
branches: [master]
92
93
93
94
jobs:
94
95
buildLatest:
@@ -102,17 +103,18 @@ jobs:
102
103
103
104
### Test structure
104
105
105
-
To run the tests concurrently, we had to start the run outside of `it` and then call `await` inside. This is now no longer needed and everything can be inside `it` aka `testActor`.
106
+
To run the tests concurrently, we had to start the run outside of `it` and then call `await` inside. This is now no longer needed and everything can be inside `it` aka `testActor`.
0 commit comments