Details
Description
See also JBEHAVE-140
When using Selenium it is customary to use setUp (or modern equiv) to acquire a Selenium instance.
Yet JBehave's Scenario sub-classes and Steps sub-classes are all about setting everything in super(..) calls. You can't in Java use member variables before super() invocations have all finished.
I have patched a version of JBehave and can confirm that this works.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Mauro Talevi [ maurotalevi ] | |
| Fix Version/s | 2.1 [ 14547 ] | |
| Affects Version/s | 2.0 [ 14456 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Summary | StepsConfiguration - can it have a setMonitor(..) method please | Allow mutability of StepsConfiguration instance |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Hi Paul - can you attach the patch that displays the use case?