cucumber/cucumber-jvm — Issue #160: @Options annotation and RuntimeOptions object
Author: aslakhellesoy
Created: 2012-01-22 02:51:41+00:00
State: open
Labels: Core, JUnit

Both the CLI and the JUnit `@Options` annotation should have equivalent option flags and arguments. They should be used to populate a `RuntimeOptions` that is passed to the `Runtime`.

`RuntimeOptions` should accept a `String[]` which can either be `argv`, an array created from `@Options` or possibly some other runner, like an IDE plugin.

Validation should happen inside `RuntimeOptions`.