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
You are running your test as a Spring integration test (@RunWith(SpringRunner.class)). You need to use the Serenity runner to produce the Serenity integration.
Hi,
My Stories Runner class is
@RunWith(SpringRunner.class)
@ContextConfiguration(locations = { "classpath:applicationContext-serenity.xml" })
public class StoriesRunnerIT extends JUnitStories implements ApplicationContextAware {
}
Step class
@component
public class testone extends Steps {
public void method(){
}
My Pom Has all dependecies sereneity-core, failsafe, serenity-bdd with versions 2.18.1, 1.4.0 , 1.4.0
BDD is not displaying all stories list in JUNIT console as above.
For Maven Run serenity report is generated with no major details.
Console Log:
OutputDirectory : C:\DEV\Git\springboot\BillingPaymentManagement\bdd\target\site\serenity
Merging requirements = [Requirement{name='', type='story' parent = 'null', cardNumber='null'}, Requirement{name='Returned payment conversion bank', type='feature' parent = 'null', cardNumber='null'}, Requirement{name='Returned payment conversion credit card', type='feature' parent = 'null', cardNumber='null'}]
Merging requirements = []
Merged requirements set = [Requirement{name='', type='story' parent = 'null', cardNumber='null'}, Requirement{name='Returned payment conversion bank', type='feature' parent = 'null', cardNumber='null'}, Requirement{name='Returned payment conversion credit card', type='feature' parent = 'null', cardNumber='null'}]
[INFO] REPORTS GENERATED IN C:\DEV\Git\springboot\BillingPaymentManagement\bdd\target\site\serenity
[INFO] REPORT HOME PAGE: C:\DEV\Git\springboot\BillingPaymentManagement\bdd\target\site\serenity\index.html
[INFO] Generating release reports for: []
Seems like it is not picking up the stories properly for serenity report as well as Junit Console.
Any help is greatly appreciate it.
Thanking you,
Regards
The text was updated successfully, but these errors were encountered: