Skip to content

Commit 4ed9b79

Browse files
Expand information about HTML reporter.
HTML report improve general experience form test result analysis, Readability: It presents test results in a clear, visually structured format. Interactivity: It offers features like collapsible sections and detailed logs for easier navigation. Shareability: HTML reports can be easily shared and accessed by team members. CI/CD Integration: It works well with CI/CD systems, providing automated test result generation. Visualization: It can include charts and graphs for better data representation.
1 parent 8b8f9e2 commit 4ed9b79

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

Diff for: README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ Habitica's code is licensed as described at https://github.com/HabitRPG/habitica
1313

1414
**Have any questions about Habitica or its community?** See the links in the [habitica.com](https://habitica.com) website's Help menu or drop in to [Guilds > Tavern Chat](https://habitica.com/groups/tavern) to ask questions or chat socially!
1515

16+
## Dev environment description
17+
To set up dev environment please walk through above "Setting up Habitica Locally".
18+
Information below are related to development, project setup, and project code-specifics.
1619

17-
### Setup git hooks
20+
### Git hooks
1821
To improve code quality and rise feedback loop more efficient you can setup pre-push hooks.
1922
Hook will execute eslint verification without fixing.
2023
Eslint errors are restricted on pipeline level, so to reduce time for a feedback you can incorporate it in development stage.
@@ -23,5 +26,10 @@ From terminal/power shel execute script from
2326
```
2427
.\scripts\setup-pre-commit-scipts.sh
2528
```
26-
If you would like to skip pre-push hook you can push with additional parameter
29+
#### Skipping git hubs
30+
If you would like to skip pre-push hook you can push with additional parameter. Anyway there is no possibility to skip linter on GitHub actions
2731
`git push --no-verify`
32+
33+
### Test reports
34+
All tests generate HTML report with coverage. So after test you are able to check coverage status as static HTML page.
35+
Reports after tests execution are stored under `./coverage/<suite name>` folder.

Diff for: gulp/gulp-tests.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ gulp.task('test:content:safe', gulp.series('test:prepare:build', cb => {
148148

149149
gulp.task(
150150
'test:api:unit:run',
151-
runInChildProcess(integrationTestCommand('test/api/unit', 'coverage/api-unit')),
151+
runInChildProcess(integrationTestCommand('test/api/unit', '/api-unit')),
152152
);
153153

154154
gulp.task('test:api:unit:watch', () => gulp.watch(['website/server/libs/*', 'test/api/unit/**/*', 'website/server/controllers/**/*'], gulp.series('test:api:unit:run', done => done())));
155155

156156
gulp.task('test:api-v3:integration', gulp.series(
157157
'test:prepare:mongo',
158158
runInChildProcess(
159-
integrationTestCommand('test/api/v3/integration', 'coverage/api-v3-integration'),
159+
integrationTestCommand('test/api/v3/integration', '/api-v3-integration'),
160160
LIMIT_MAX_BUFFER_OPTIONS,
161161
),
162162
));

0 commit comments

Comments
 (0)