click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Schmidt (JIRA)" <>
Subject [jira] Created: (CLK-510) QuickStart should generate tests too.
Date Mon, 30 Mar 2009 18:55:50 GMT
QuickStart should generate tests too.

                 Key: CLK-510
             Project: Click
          Issue Type: New Feature
            Reporter: Joseph Schmidt

QuickStart generation should produce test artifacts(and configuration for tests too).
To enforce a good usage of Click, the generator should produce JUnit tests (with SeleniumUnit
test for the Pages).
E.g. for google page (but it is similar for every click page):
import com.thoughtworks.selenium.*;
import junit.framework.*;
public class GoogleTest extends TestCase {
    private Selenium browser;
    public void setUp() {
        browser = new DefaultSelenium("localhost",
            4444, "*firefox", "");
    public void testGoogle() {"");
        browser.type("q", "hello world");"btnG");
        assertEquals("hello world - Google Search", browser.getTitle());
    public void tearDown() {

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message