zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject zeppelin git commit: [ZEPPELIN-2042] Document how to run selenium test
Date Tue, 07 Feb 2017 05:00:46 GMT
Repository: zeppelin
Updated Branches:
  refs/heads/master 5bb38c89a -> 304842a3f

[ZEPPELIN-2042] Document how to run selenium test

### What is this PR for?
This PR document how to run selenium test in development environment

### What type of PR is it?

### What is the Jira issue?

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Lee moon soo <moon@apache.org>

Closes #1967 from Leemoonsoo/doc_run_selenium_test and squashes the following commits:

3e39c29 [Lee moon soo] Some info how to install firefox 31.0
295b700 [Lee moon soo] fix typo
e1312f3 [Lee moon soo] Add 'Run Selenium test' section

Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/304842a3
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/304842a3
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/304842a3

Branch: refs/heads/master
Commit: 304842a3fcde5debb336557b38ea1a9989fe768d
Parents: 5bb38c8
Author: Lee moon soo <moon@apache.org>
Authored: Sun Feb 5 20:28:20 2017 +0900
Committer: Lee moon soo <moon@apache.org>
Committed: Tue Feb 7 14:00:14 2017 +0900

 docs/development/howtocontribute.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/development/howtocontribute.md b/docs/development/howtocontribute.md
index 5de4458..cb0fa6e 100644
--- a/docs/development/howtocontribute.md
+++ b/docs/development/howtocontribute.md
@@ -113,6 +113,23 @@ cd <zeppelin_home>/zeppelin-interpreter/src/main/thrift
+### Run Selenium test
+Zeppelin has [set of integration tests](https://github.com/apache/zeppelin/tree/master/zeppelin-server/src/test/java/org/apache/zeppelin/integration)
using Selenium. To run these test, first build and run Zeppelin and make sure Zeppelin is
running on port 8080. Then you can run test using following command
+TEST_SELENIUM=true mvn test -Dtest=[TEST_NAME] -DfailIfNoTests=false -pl 'zeppelin-interpreter,zeppelin-zengine,zeppelin-server'
+For example, to run [ParagraphActionIT](https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/test/java/org/apache/zeppelin/integration/ParagraphActionsIT.java),
+TEST_SELENIUM=true mvn test -Dtest=ParagraphActionsIT -DfailIfNoTests=false -pl 'zeppelin-interpreter,zeppelin-zengine,zeppelin-server'
+You'll need Firefox web browser installed in your development environment. While CI server
uses [Firefox 31.0](https://ftp.mozilla.org/pub/firefox/releases/31.0/) to run selenium test,
it is good idea to install the same version (disable auto update to keep the version).
 ## Where to Start
 You can find issues for <a href="https://issues.apache.org/jira/browse/ZEPPELIN-981?jql=project%20%3D%20ZEPPELIN%20AND%20labels%20in%20(beginner%2C%20newbie)">beginner
& newbie</a>

View raw message