Actions

Difference between revisions of "Testing Joomla! With WebTest - Environment Setup"

From Joomla! Documentation

m
m
Line 24: Line 24:
  
 
== Canoo WebTest ==
 
== Canoo WebTest ==
[http://webtest.canoo.com Canoo WebTest] is a free Open Source tool for automated testing of web applications. Here you can find a short overview of [http://webtest.canoo.com/webtest/manual/keyCharacteristics.html WebTest characteristics]. To get a first impression, you can watch the following screencast: [http://opensource.basehaus.com/webtest/screencasts/creating-a-first-webtest-project.htm Creating a first WebTest project].
+
[http://webtest.canoo.com Canoo WebTest] is a free Open Source tool for automated testing of web applications. Here you can find a short overview of [http://webtest.canoo.com/webtest/manual/keyCharacteristics.html WebTest characteristics].  
 +
 
 +
To get a first impression, you can watch the following screencast:
 +
 
 +
[[Image:Screencast WebTest CreateFirstWebTestProject.png]]
 +
 
 +
[http://opensource.basehaus.com/webtest/screencasts/creating-a-first-webtest-project.htm Creating a first WebTest project].
  
 
=== Prerequisite ===
 
=== Prerequisite ===
Line 34: Line 40:
 
See [http://webtest.canoo.com/webtest/manual/install.html here].
 
See [http://webtest.canoo.com/webtest/manual/install.html here].
  
=== Installation ===
+
=== Installation & Configuration ===
 
See [http://webtest.canoo.com/webtest/manual/install.html here].
 
See [http://webtest.canoo.com/webtest/manual/install.html here].
 
=== Configuration ===
 
  
 
== Eclipse ==
 
== Eclipse ==
 +
[http://www.eclipse.org Eclipse] is an open source community, whose projects are focused on building an open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle.
 +
For more details, see [http://www.eclipse.org/org here].
  
 
=== Prerequisite ===
 
=== Prerequisite ===

Revision as of 12:24, 7 August 2009

This page will hold documentation on using WebTest to create test suites for Joomla!

Contents

Functional Testing

See System Testing

Smoke Tests

The smoke tests shall make sure, that the very basic functionality of a new Joomla! installation is working. This means, a smoke test will verify the availability of menus, pages or other elements.

The successfully executed smoke tests provide the entry criteria for the regression testes. However, there is no clearly defined border between regression and functional tests.

Regression Tests

Regression tests are generally written against requirements and/or stories, which define the functionality and behavior of a system.

If a project is missing these specifications it can be helpful to write the regression tests against stories. These stories describe basic use cases.

The regression test with WebTest will be based on stories. These shall be simple stories such as:

  • Add a new section
  • Add a new category to the section
  • Add a new article to the section and category
  • Make the article visible on the frontpage

These stories can be extended over time, but will give the possibility to grow easily.

Canoo WebTest

Canoo WebTest is a free Open Source tool for automated testing of web applications. Here you can find a short overview of WebTest characteristics.

To get a first impression, you can watch the following screencast:

Screencast WebTest CreateFirstWebTestProject.png

Creating a first WebTest project.

Prerequisite

  • A platform that is able to run Java.
  • An installed JDK version 5 or higher.
  • Ant version 1.7.0 or newer (optional). WebTests distribution contains the necessary part from ant 1.7.0 ready to run
  • A tool to unzip.

See here.

Installation & Configuration

See here.

Eclipse

Eclipse is an open source community, whose projects are focused on building an open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle. For more details, see here.

Prerequisite

Installation

Configuration

Test Suite

Repository

Structure

Test Execution

Reports