This page was moved to https://cwiki.apache.org/confluence/display/CAUSEWAY/SmokeTest
Click in the link above if you are not automatically redirected in 10 seconds.


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Introduction

This smoke test just consists of running a demo app. The app in question, trunk/support/prototype, I'm hoping will become the basis for an archetype (at which point I'll change this page to start instead with running that archetype).

The following assumes that you've successfully built Isis, see BuildProcess if not.

Loading the Demo App (into Eclipse)

In Eclipse, import the projects into Eclipse:

  • File > Import > Maven > Existing Maven Projects
    • browse to trunk/support/prototype
    • specify the Advanced > Name Template = groupId.artifactId
      • otherwise the project names in launch configs will be wrong.
    • Refresh
    • OK
  • Project > Build All
    • (or just turn on Project > Build Automatically)

Running the Demo App

Viewer

quickrun project launch config

WAR project

Other type of project

Notes

DnD

prototype_quickrun_dnd.launch

 

 

EmployeeTakeOn not supported

HTML

prototype_quickrun_html.launch

viewer-html

 

for quickrun, browser to

http://localhost:8080/logon.app

Restful

prototype_quickrun_restful.launch

viewer-restful

 

for quickrun, browser to

http://localhost:8080

Wicket

 

viewer-wicket

 

 

Scimpi

 

viewer-scimpi

 

 

JUnit

 

 

{{viewer-junit}

Runs as a JUnit test, see below

BDD

 

 

{{viewer-bdd}

Runs as a JUnit test, see below

Quick Run Project

Some of the viewers have launch configs within quickrun project, in in ide/eclipse/launch. These launch configs run org.apache.isis.Isis --viewer xxx.

WAR Projects

All of the webapp-based viewers have their own WAR project. The app can be started in one of several ways:

  • using the launch configuration ide/eclipse/launch/prototype_xxx.launch
    • where xxx is html, restful, wicket, scimpi
    • this just runs org.apache.isis.WebServer which boots up Jetty with the web.xml
    • browse to http://localhost:8080
  • using mvn jetty:run
  • as an Eclipse WTP Server project
JUnit Viewer

The JUnit viewer ... TO COMPLETE

BDD Viewer

The BDD viewer ... TO COMPLETE

  • No labels