Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(#2537): added docs about running specific integration test #2570

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions eo-maven-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,21 @@ mvn clean install -Pqulice -Dstack-size=1M
```
where 1M is size of stack. By default stack-size = 256M in eo-maven-plugin, maximum size is 1G.

## How to disable IT tests
## How to run Integration Tests only

If you want to run a specific integration test without waiting until other unit or integration tests are executed you need to go to `eo-maven-plugin`
directory and execute the next command:

```shell
mvn clean integration-test invoker:run -Dinvoker.test=fibonacci -DskipTests
```

Here `fibonacci` is the name of the desired integration test, `-DskipTests` is used in order to skip `eo-maven-plugin` unit tests.

## How to disable Integration Tests

It is sometime necessary to temporary disable the integration tests (for example for introducing braking changes into plugin or EO runtime).
This can be achived by disabling `maven-invoker-plugin` execution within `eo-maven-plugin/pom.xml`:
This can be achieved by disabling `maven-invoker-plugin` execution within `eo-maven-plugin/pom.xml`:
```xml
<plugins>
...
Expand Down