hugs (owner)

Revisions

gist: 42141 Download_button fork
public
Description:
Setup req'd for Selenium development on Ubuntu (8.04 Hardy)
Public Clone URL: git://gist.github.com/42141.git
Embed All Files: show embed
selenium-developer-setup.txt #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Install Java:
$ sudo apt-get install sun-java6-jdk
 
# Check installation:
$ java -version
 
 
# Install Maven:
$ sudo apt-get install maven2
 
# Check installation:
$ mvn --version
 
 
# Install Subversion
$ sudo apt-get install subversion
 
# Check installation:
$ svn --version --quiet
 
 
# Make sure Firefox is on the path
$ PATH=`find /usr/lib -type d -name "firefox-3*"`:$PATH
 
 
# Checkout Selenium Remote Control:
$ mkdir --parents ~/projects/selenium/selenium-rc
$ svn co https://svn.openqa.org/svn/selenium-rc/trunk/ ~/projects/selenium/selenium-rc
 
# Checkout Selenium Core
$ mkdir --parents ~/projects/selenium/selenium-core
$ svn co http://svn.openqa.org/svn/selenium-core/trunk/ ~/projects/selenium/selenium-core
                
 
# Build and Test Core
$ cd ~projects/selenium/selenium-core/
$ mvn install
 
# Build Core, but run integration tests (uses a real browser)
$ mvn install -Pintegration-test-firefox
 
# Build and Test RC
$ cd ~projects/selenium/selenium-rc/
$ mvn -Pcore install