/activiti-cloud-acceptance-scenarios

Acceptance Tests Scenarios for Activiti Cloud

Primary LanguageJavaApache License 2.0Apache-2.0

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 ENVIROMENTAL VARIABLES

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

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.