Sebastian Sickelmann (JIRA | 24 May 2013 22:00

[jira] (JBEHAVE-917) Use more flexible "Consumer extends" for list of step instances.

Issue Type: Improvement
Assignee: Unassigned
Components: Core
Created: 24/May/13 3:00 PM
Description:

In my project i want to pass a List of InjectableStep (which is a marker interface).
But i cannot pass my List<? super InjectableStep> or even List to the constructor of InstanceStepsFactory. It always calls the Ctor with the Object... parameter till I use the workaround and cast my List to List. I don't think that someone will provide a step implementationclass which is derived from java.util.List so the downside of a cast needed in this rare situation is very small.

See http://stackoverflow.com/a/252860/1325574 for further details of the "Producer Extends Consumer Super" idea.

See also https://github.com/jbehave/jbehave-core/pull/47

Project: JBehave
Priority: Trivial
Reporter: Sebastian Sickelmann
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Nicholas Smith | 24 May 2013 15:19
Picon

AfterScenario with GivenStories

Hi All

I'm currently using JBehave and getting to the stage where I have quite a few scenarios, subsequently I am starting to notice increasing amounts of repetitive steps.  I had hoped to push the common pre-requisites out to GivenStories and save the repetition. 

The problem is that I'm currently using <at> AfterScenario to tidy up before the next scenario, which fires at the end of the GivenStory Scenario as well as the Scenario under test; however in the case of a GivenStories I do not want this to happen as I am effectively trying to use them to set up the preconditions.

I'm not sure if I am missing a configuration option or I am either misusing the <at> AfterScenario or GivenStories.

Any advice?

Thanks
Nick
Mauro Talevi (JIRA | 24 May 2013 08:58

[jira] (JBEHAVE-902) Improve extendability of core elements

Mauro Talevi commented on JBEHAVE-902
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Mauro Talevi (JIRA | 24 May 2013 08:56

[jira] (JBEHAVE-902) Improve extendability of core elements

Change By: Mauro Talevi (24/May/13 1:54 AM)
Affects Version/s: 4.x
Fix Version/s: 4.0
Fix Version/s: 3.8.1
Summary: Improve extendability  of core elements
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Yuriy Pilipenko (JIRA | 22 May 2013 23:54

[jira] (JBEHAVE-911) XML format is broken when story is cancelled

Sure. Will do in a day or two.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Mauro Talevi (JIRA | 22 May 2013 01:22

[jira] (JBEHAVE-905) Support Narrative syntax "As a, I want to, So that"

Mauro Talevi resolved JBEHAVE-905 as Fixed
Change By: Mauro Talevi (21/May/13 6:20 PM)
Resolution: Fixed
Assignee: Mauro Talevi
Status: Open Resolved
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Mauro Talevi (JIRA | 21 May 2013 23:16

[jira] (JBEHAVE-911) XML format is broken when story is cancelled

Mauro Talevi commented on JBEHAVE-911

Can't seem to reproduce issue. Can you provide an example project that reproduces it?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Mauro Talevi (JIRA | 21 May 2013 22:25

[jira] (JBEHAVE-904) Upgrade JUnit to 4.11 and Hamcrest to 1.3

Mauro Talevi resolved JBEHAVE-904 as Fixed
Change By: Mauro Talevi (21/May/13 3:24 PM)
Resolution: Fixed
Status: In Progress Resolved
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Mauro Talevi (JIRA | 21 May 2013 22:23

[jira] (JBEHAVE-913) Require Oracle JDK 1.7 to build

Mauro Talevi resolved JBEHAVE-913 as Fixed
Change By: Mauro Talevi (21/May/13 3:23 PM)
Resolution: Fixed
Status: Open Resolved
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Mauro Talevi (JIRA | 21 May 2013 22:01

[jira] (JBEHAVE-904) Upgrade JUnit to 4.11 and Hamcrest to 1.3

Change By: Mauro Talevi (21/May/13 3:00 PM)
Fix Version/s: 4.x
Fix Version/s: 3.8.1
Summary: Upgrade  Junit  JUnit  to 4.11 and Hamcrest to 1.3
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Mauro Talevi (JIRA | 21 May 2013 22:01

[jira] (JBEHAVE-915) Upgrade to Hamcrest 1.3 and JUnit 4.11

Mauro Talevi resolved JBEHAVE-915 as Duplicate
Change By: Mauro Talevi (21/May/13 3:00 PM)
Resolution: Duplicate
Status: Open Resolved
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Gmane