Hi all,

as detailed in http://jira.codehaus.org/browse/JBEHAVE-132, I've refactored the base Scenario class along these lines:

- Extracted Scenario interface and provided AbstractScenario impl.
- Renamed Scenario -> JUnitScenario (which now supports both JUnit 4.x and JUnit 3.x) which is a decorator of AbstractScenario.

The main difference is that AbstractScenario is test-framework agnostic while JUnitScenario (and others to come) decorate AbstractScenario to add test-framework support.

ATM - this change is not backward compatible with 2.0.

So, we need to decide:

1. release 2.1 with a note to users that they need to replace Scenario -> JUnitScenario?

2. Rename Scenario interface to RunnableScenario (or somesuch name) and have Scenario as a deprecated class that extends JUnitScenario. This would ensure backward compat, but it's kinda messy and would eventually be removed.

Given that the simplicity of the compatibility change, and the fact that it puts the code in more much more extensible footing, I would opt for choice 1.

Thoughts?

Cheers









---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to