Skip to content

gtudan/krazo

 
 

Repository files navigation

Build Status

Eclipse Krazo

Eclipse Krazo is an implementation of action-based MVC specified by Jakarta MVC 2.0. It builds on top of Jakarta RESTful Webservices and currently contains support for RESTEasy and Jersey with a well-defined SPI for other implementations.

Running the testsuite

Eclipse Krazo has configurations to run the testsuite against a bunch of application servers like WildFly, Payara, Glassfish or Liberty. The following sections describe how you test Eclipse Krazo against them. At the moment, we test against following servers:

  • Glassfish 8
  • WildFly 22.x.x
  • OpenLiberty 21.*

Preconditions

  • JDK 11
  • SNAPSHOTs are up to date in your local repository

Glassfish

To run the Krazo testsuite with Eclipse Glassfish, you need to follow these steps:

  1. Download Eclipse Glassfish from the official download page and unzip it.
  2. Start Eclipse Glassfish via glassfish6/glassfish/bin/startserv
  3. Go into the testsuite package of Eclipse Krazo and execute mvn clean integration-test -Ptestsuite-glassfish

WildFly

To run the Krazo testsuite with WildFly, you need to follow these steps:

  1. Download WildFly from the WildFly download page and unzip it somewhere you'll find it again.
  2. Start WildFly with sh standalone.sh --debug. This enables you to remote-debug the Arquillian tests.
  3. Go into the testsuite package of Eclipse Krazo and execute mvn clean integration-test -Ptestsuite-wildfly

OpenLiberty

To run the Krazo testsuite with OpenLiberty, you need to follow these steps. Please note that this process has been tested with 20.x only.

Download OpenLiberty from the official download page and unzip it. Replace the file wlp/templates/servers/defaultServer/server.xml with .travis/wlp-server-template.xml from the Eclipse Krazo repository. Go into the testsuite package of Eclipse Krazo and execute mvn clean integration-test -Ptestsuite-liberty -Dliberty.home=c:/somewhere/wlp/. Please make sure to replace c:/somewhere/wlp/ with the absolute path to the unpacked OpenLiberty distribution.

Troubleshooting

Tests are failing locally but not in Jenkins

In this case, ensure that your local SNAPSHOTS are the newest version of Krazo. Most of time, this solves the problem.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.7%
  • Shell 0.9%
  • HTML 0.2%
  • Pug 0.1%
  • Handlebars 0.1%
  • Smalltalk 0.0%