File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
701717Assuming browser files have been built (see above):
You can’t perform that action at this time.
0 commit comments