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

Folders and files

NameName
Last commit message
Last commit date
Feb 18, 2019
Feb 13, 2020
May 28, 2019
Apr 1, 2020
May 22, 2019
Dec 12, 2018
Jan 23, 2020
Nov 1, 2019
Dec 12, 2018
Jan 16, 2020
Jan 23, 2020
Jan 24, 2020
Jan 26, 2020
Nov 14, 2018
Nov 7, 2019
Dec 12, 2018
Dec 12, 2018
Jan 25, 2019
Apr 3, 2020
Jan 25, 2019

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.