Changes between Version 1 and Version 2 of InstallationGuidelinesDeveloperTesting


Ignore:
Timestamp:
09/26/11 11:53:51 (13 years ago)
Author:
Fran Boon
Comment:

Update to current

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelinesDeveloperTesting

    v1 v2  
     1[[TOC]]
    12== Testing Setup ==
    23For doing [wiki:DeveloperGuidelinesTesting Testing] you will also need these things installed in your Python:
    3 === Selenium ===
    4 We 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
    9 This requires a Java 6 Runtime:
    10  * http://java.sun.com/javase/downloads
    114
    12 The [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 ===
    15 We use [http://cherrypy.org CherryPy]'s [http://cherrypy.org/browser/trunk/cherrypy/test/webtest.py WebTest] for Doc Tests & Unit Testing.[[BR]]
    16 Windows:
    17  * http://download.cherrypy.org/cherrypy/3.1.1/CherryPy-3.1.1.win32.exe
    18 Linux:
    19 {{{
    20 wget http://download.cherrypy.org/cherrypy/3.1.1/CherryPy-3.1.1.tar.gz
    21 tar zxvf CherryPy-3.1.1.tar.gz
    22 cd CherryPy-3.1.1
    23 python setup.py install
    24 }}}
    25 This also requires us to install [http://code.google.com/p/wsgi-intercept wsgi_intercept]:
    26 {{{
    27 easy_install wsgi_intercept
    28 }}}
    295=== !PyLint ===
    306[http://www.logilab.org/project/pylint PyLint] can be used to give a report on code quality.
     
    4420}}}
    4521
     22=== Old ===
     23
     24==== Selenium ====
     25(Selenium is now included in the tree)
     26
     27We 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):
     28 * {{{easy_install selenium}}}
     29 * http://release.seleniumhq.org/selenium-remote-control/1.0-beta-2/selenium-remote-control-1.0-beta-2-dist.zip
     30 * copy {{{selenium-server.jar}}} to site-packages
     31 * copy [http://groups.google.com/group/web2py/msg/d8c9fd6008029f6b seleniumtest.py] to site-packages
     32This requires a Java 6 Runtime:
     33 * http://java.sun.com/javase/downloads
     34
     35The [http://seleniumhq.org/projects/ide Selenium IDE] is also useful to have installed in Firefox:
     36 * http://release.openqa.org/selenium-ide/1.0-beta-2/selenium-ide-1.0-beta-2.xpi
     37
     38==== !CherryPy ====
     39We treid to use [http://cherrypy.org CherryPy]'s [http://cherrypy.org/browser/trunk/cherrypy/test/webtest.py WebTest] for Doc Tests & Unit Testing.[[BR]]
     40Windows:
     41 * http://download.cherrypy.org/cherrypy/3.1.1/CherryPy-3.1.1.win32.exe
     42Linux:
     43{{{
     44wget http://download.cherrypy.org/cherrypy/3.1.1/CherryPy-3.1.1.tar.gz
     45tar zxvf CherryPy-3.1.1.tar.gz
     46cd CherryPy-3.1.1
     47python setup.py install
     48}}}
     49This also requires us to install [http://code.google.com/p/wsgi-intercept wsgi_intercept]:
     50{{{
     51easy_install wsgi_intercept
     52}}}
     53
    4654----
    4755InstallationGuidelines