Skip to content

Commit

Permalink
Merge pull request #4 from emmanuelbernard/documentation
Browse files Browse the repository at this point in the history
Add doc on how to run GraalTest based tests from IDE
  • Loading branch information
stuartwdouglas authored Aug 2, 2018
2 parents e2d4e48 + a4f6471 commit 138f68a
Showing 1 changed file with 9 additions and 2 deletions.
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`

0 comments on commit 138f68a

Please sign in to comment.