Skip to content

Commit 1fb0347

Browse files
committed
Adding testing infos in README
1 parent 72bcf8e commit 1fb0347

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

components/pryv/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,22 @@ just test <component> [...params]
696696
- Extra parameters at the end are passed on to [Mocha](https://mochajs.org/) (default settings are defined in `.mocharc.js` files)
697697
- Replace `test` with `test-debug`, `test-cover` for common presets
698698

699+
By default tests are done against [Pryv Lab](https://www.pryv.com/pryvlab/) with serviceInfo Url `https://reg.pryv.me/service/info`.
700+
701+
To run test suite against another Pryv instance use `TEST_PRYVLIB_SERVICEINFO_URL` environement variable.
702+
703+
Exemple:
704+
```
705+
TEST_PRYVLIB_SERVICEINFO_URL="https://reg.${DOMAIN}/service/info" just test all
706+
```
707+
708+
To test **in-development** api-server components, e.g. Open-Source or Entreprise. `TEST_PRYVLIB_DNSLESS_URL` may be used.
709+
710+
Exemple:
711+
```
712+
TEST_PRYVLIB_DNSLESS_URL="http://l.rec.la:3000/ just test all
713+
```
714+
699715
#### Browser
700716

701717
Assuming browser files have been built (see above):

0 commit comments

Comments
 (0)