mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-12 16:11:59 -05:00
README improvements.
This commit is contained in:
1 parent
dbddad50bf
commit
cc4686f1bb
1 file changed
+17
-4
+17
-4
@@ -113,7 +113,7 @@ Test Data Details
|
|||||||
Execution:
|
Execution:
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Python Tests
|
Python Tests:
|
||||||
|
|
||||||
- For feature tests to run as part of the entire test suite, Chrome and
|
- For feature tests to run as part of the entire test suite, Chrome and
|
||||||
chromedriver need to be installed; get chromedriver from
|
chromedriver need to be installed; get chromedriver from
|
||||||
@@ -156,14 +156,27 @@ Python Tests
|
|||||||
Example: exclude multiple packages:
|
Example: exclude multiple packages:
|
||||||
run 'python runtests.py --exclude browser.server_groups.servers.databases,browser.server_groups.servers.tablespaces'
|
run 'python runtests.py --exclude browser.server_groups.servers.databases,browser.server_groups.servers.tablespaces'
|
||||||
|
|
||||||
Javascript Tests
|
Javascript Tests:
|
||||||
|
|
||||||
|
- Install node.js and yarn, in the appropriate way for your platform. On macOS with Homebrew you might use:
|
||||||
|
|
||||||
brew install nodejs
|
brew install nodejs
|
||||||
brew install yarn
|
brew install yarn
|
||||||
|
|
||||||
javascript tests must be run from the web directory (since that is where node_modules and karma.conf reside)
|
Whilst with MacPorts:
|
||||||
|
|
||||||
|
sudo port install nodejs7 yarn
|
||||||
|
|
||||||
|
- Javascript tests must be run from the web directory (since that is where node_modules and karma.conf reside):
|
||||||
|
|
||||||
cd web/
|
cd web/
|
||||||
|
|
||||||
|
- Install the JS modules required for testing:
|
||||||
|
|
||||||
yarn
|
yarn
|
||||||
|
|
||||||
to run tests:
|
- Now run the tests:
|
||||||
|
|
||||||
yarn run karma start --single-run
|
yarn run karma start --single-run
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user