| 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 |
| 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 | | }}} |
| | 22 | === Old === |
| | 23 | |
| | 24 | ==== Selenium ==== |
| | 25 | (Selenium is now included in the tree) |
| | 26 | |
| | 27 | 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): |
| | 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 |
| | 32 | This requires a Java 6 Runtime: |
| | 33 | * http://java.sun.com/javase/downloads |
| | 34 | |
| | 35 | The [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 ==== |
| | 39 | We treid to use [http://cherrypy.org CherryPy]'s [http://cherrypy.org/browser/trunk/cherrypy/test/webtest.py WebTest] for Doc Tests & Unit Testing.[[BR]] |
| | 40 | Windows: |
| | 41 | * http://download.cherrypy.org/cherrypy/3.1.1/CherryPy-3.1.1.win32.exe |
| | 42 | Linux: |
| | 43 | {{{ |
| | 44 | wget http://download.cherrypy.org/cherrypy/3.1.1/CherryPy-3.1.1.tar.gz |
| | 45 | tar zxvf CherryPy-3.1.1.tar.gz |
| | 46 | cd CherryPy-3.1.1 |
| | 47 | python setup.py install |
| | 48 | }}} |
| | 49 | This also requires us to install [http://code.google.com/p/wsgi-intercept wsgi_intercept]: |
| | 50 | {{{ |
| | 51 | easy_install wsgi_intercept |
| | 52 | }}} |
| | 53 | |