Skip to content

Commit

Permalink
Merge pull request #5051 from jmchilton/fast_client_test_setup
Browse files Browse the repository at this point in the history
Document fastest way to iterate on client & client tests together.
  • Loading branch information
martenson committed Nov 21, 2017
2 parents e9ef110 + 306be82 commit 1d72b26
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ Run all selenium tests (Under Linux using Docker):
Run a specific selenium test (under Linux or Mac OS X after installing geckodriver or chromedriver):
./run_tests.sh -selenium test/selenium_tests/test_registration.py:RegistrationTestCase.test_reregister_username_fails
Run a selenium test against a running server while watching client (fastest iterating on client tests):
./run.sh & # run Galaxy on 8080
make client-watch & # watch for client changes
export GALAXY_TEST_EXTERNAL=http://localhost:8080/ # Target tests at server.
. .venv/bin/activate # source the virtualenv so can skip run_tests.sh.
nosetests test/selenium_tests/test_workflow_editor.py:WorkflowEditorTestCase.test_data_input
Note About Selenium Tests:
If using a local selenium driver such as a Chrome or Firefox based one
Expand Down

0 comments on commit 1d72b26

Please sign in to comment.