Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Acceptance Tests Scenarios for Activiti Cloud - DEPRECATED moved to https://github.com/Activiti/activiti-cloud-application

License

Notifications You must be signed in to change notification settings

AlfrescoArchive/activiti-cloud-acceptance-scenarios

Repository files navigation

Acceptance Tests Scenarios for Activiti Cloud

This repo now includes a set of modules which contains different acceptances tests. This acceptance tests rely on having an environment to run against.

In order to point to an environment you can export the following ENVIROMENT VARIABLES

> export GATEWAY_HOST=<custom-gateway-host>:<custom-gateway-port>
> export SSO_HOST=<custom-sso-host>:<custom-sso-port>
> export REALM=activiti

to use https rather than http:

> export GATEWAY_PROTOCOL=https
> export SSO_PROTOCOL=https

or specify the full URL:

> export GATEWAY_URL=<custom-gateway-url>
> export SSO_URL=<custom-sso-url>

You can use our HELM charts hosted here: Activiti Cloud HELM Charts to create these environments with all the services that are tested by these acceptance tests.

In order to run these acceptance tests you can run:

> mvn clean install -DskipTests && mvn -pl '!apps-acceptance-tests,!multiple-runtime-acceptance-tests,!security-policies-acceptance-tests' clean verify

This will ignore the following modules: apps-acceptance-tests,multiple-runtime-acceptance-tests,security-policies-acceptance-tests and run all the others. This is extremely useful to control which tests run depending on your environment configurations and why you are trying to test.