You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2022. It is now read-only.
messages: Add JavaMethod and JavaStackTraceElement as SourceReference
Cucumber JVM can not reference files by URI. So it should use either java
methods or stack trace elements as a source reference instead.
For example:
```json
{
"hook": {
"id": "a1839ec6-f75d-4029-9b75-4b8203d8b2e8",
"sourceReference": {
"javaMethod": {
"className": "io.cucumber.compatibility.attachments.Attachments",
"methodName": "before",
"methodParameterTypes": [
"io.cucumber.java.Scenario"
]
}
}
}
}
```
See: cucumber/cucumber-jvm#2058Fixes: cucumber/common#1119
0 commit comments