Skip to content

Commit

Permalink
Update for release v1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oklemenz2 committed Apr 5, 2023
1 parent d672793 commit 8bac816
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 172 deletions.
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
reports/
test/
test-integration/
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,28 @@ cds.on("bootstrap", (app) =>
This repository comes with a suite of unit-tests covering the complete proxy implementation.
The tests can be executed as follows:

- All:
- `npm test`
- SQLite based:
- `npm run test:unit` ([source](test))
- HANA based (HANA credentials necessary)
- `npm run test:integration` ([source](test-integration))
- HANA based:
- Place HANA credentials at `test-integration/_env/db/default-services.json` in format:
```
{
"hana": [
{
"credentials": {
// ...
}
}
]
}
```
- Deploy HANA test schema
- Switch dir: `cd test-integration/_env`
- Build model: `npm run build`
- Deploy model: `npm run deploy`
- Run tests (root dir): `npm run test:integration` ([source](test-integration))
- All:
- `npm test`
All tests are executed as part of the GitHub Actions Continuous Integration (CI) pipeline.
Expand Down
Loading

0 comments on commit 8bac816

Please sign in to comment.