Changes between Initial Version and Version 1 of InstallationGuidelinesDeveloperTesting


Ignore:
Timestamp:
02/16/09 19:26:43 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelinesDeveloperTesting

    v1 v1  
     1== Testing Setup ==
     2For doing [wiki:DeveloperGuidelinesTesting Testing] you will also need these things installed in your Python:
     3=== Selenium ===
     4We use [http://seleniumhq.org/projects/remote-control Selenium RC] for Unit Testing (we also, separately, use an integrated [http://seleniumhq.org/projects/core Selenium Core] for Functional Testing):
     5 * {{{easy_install selenium}}}
     6 * http://release.seleniumhq.org/selenium-remote-control/1.0-beta-2/selenium-remote-control-1.0-beta-2-dist.zip
     7 * copy {{{selenium-server.jar}}} to site-packages
     8 * copy [http://groups.google.com/group/web2py/msg/d8c9fd6008029f6b seleniumtest.py] to site-packages
     9This requires a Java 6 Runtime:
     10 * http://java.sun.com/javase/downloads
     11
     12The [http://seleniumhq.org/projects/ide Selenium IDE] is also useful to have installed in Firefox:
     13 * http://release.openqa.org/selenium-ide/1.0-beta-2/selenium-ide-1.0-beta-2.xpi
     14=== !CherryPy ===
     15We use [http://cherrypy.org CherryPy]'s [http://cherrypy.org/browser/trunk/cherrypy/test/webtest.py WebTest] for Doc Tests & Unit Testing.[[BR]]
     16Windows:
     17 * http://download.cherrypy.org/cherrypy/3.1.1/CherryPy-3.1.1.win32.exe
     18Linux:
     19{{{
     20wget http://download.cherrypy.org/cherrypy/3.1.1/CherryPy-3.1.1.tar.gz
     21tar zxvf CherryPy-3.1.1.tar.gz
     22cd CherryPy-3.1.1
     23python setup.py install
     24}}}
     25This also requires us to install [http://code.google.com/p/wsgi-intercept wsgi_intercept]:
     26{{{
     27easy_install wsgi_intercept
     28}}}
     29=== !PyLint ===
     30[http://www.logilab.org/project/pylint PyLint] can be used to give a report on code quality.
     31{{{
     32wget http://ftp.logilab.org/pub/common/logilab-common-0.37.2.tar.gz
     33tar zxvf logilab-common-0.37.2.tar.gz
     34cd logilab-common-0.37.2
     35python setup.py install
     36wget http://ftp.logilab.org/pub/astng/logilab-astng-0.17.4.tar.gz
     37tar zxvf logilab-astng-0.17.4.tar.gz
     38cd astng-0.17.4
     39python setup.py install
     40wget http://ftp.logilab.org/pub/pylint/pylint-0.15.2.tar.gz
     41tar zxvf pylint-0.15.2.tar.gz
     42cd pylint-0.15.2
     43python setup.py install
     44}}}
     45
     46----
     47InstallationGuidelines