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

Add doc on how to run GraalTest based tests from IDE #4

Merged
merged 1 commit into from
Aug 2, 2018
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
11 changes: 9 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@

Examples exercising frameworks like Weld, Undertow etc using Shamrock as boot bed.

## Strict
## How to run them

To run from your IDE tests inheriting from `GraalTest` (e.g. `@RunWith(GraalTest.class)`), you must define the `native.image.path` to the native image build of that specific example.
For example: `-Dnative.image.path=/full/qualified/path/to/examples/example1/shamrock-test-deployment-1.0.0.Alpha1-SNAPSHOT`

## List of examples

### Strict

Strict are exercising frameworks that do not require `-H:+ReportUnsupportedElementsAtRuntime`
At the time of writing Weld needs it and thus is not in the strict category.

## Everything
### Everything

Everything exercise all frameworks including the ones needing `-H:+ReportUnsupportedElementsAtRuntime`