-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for GivenStories tag for BDD style tests #87
Comments
java.lang.NoSuchMethodError: net.thucydides.core.model.TestOutcome.getTestSource()Ljava/lang/String; |
Looks like you are trying to use integration with incompatible version of Serenity (possible outdated). Can you specify Serenity version in your project? |
Hi ..
Thank you so much for replying back . Yes I observed serenity older version
have in my project after upgrading the versions ..It is working fine now.
Another issue identified when you have story ,Inside another story It is
giving me this error.
Here is the example.
Scenario: story inside other story
GivenStories:apple.story,
oranges.story,
banana.story
Then all fruits verified
And End the scenario
java.lang.ArrayIndexOutOfBoundsException: 3
at
java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:388)
at
java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:397)
at
net.thucydides.core.model.DataTable$RowValueAccessor.toStringMap(DataTable.java:401)
at
com.github.invictum.reportportal.StartEventBuilder.withParameters(StartEventBuilder.java:44)
at
com.github.invictum.reportportal.recorder.BddDataDriven.record(BddDataDriven.java:42)
at
com.github.invictum.reportportal.ReportPortalListener.testFinished(ReportPortalListener.java:51)
at
net.thucydides.core.steps.StepEventBus.testFinished(StepEventBus.java:303)
at
net.serenitybdd.jbehave.SerenityReporter.afterScenario(SerenityReporter.java:617)
at
org.jbehave.core.reporters.DelegatingStoryReporter.afterScenario(DelegatingStoryReporter.java:44)
at
org.jbehave.core.reporters.ConcurrentStoryReporter.afterScenario(ConcurrentStoryReporter.java:206)
at
org.jbehave.core.embedder.PerformableTree$PerformableScenario.perform(PerformableTree.java:976)
at
org.jbehave.core.embedder.PerformableTree$PerformableStory.performScenarios(PerformableTree.java:860)
at
org.jbehave.core.embedder.PerformableTree$PerformableStory.perform(PerformableTree.java:835)
at
org.jbehave.core.embedder.PerformableTree.performCancellable(PerformableTree.java:417)
at
org.jbehave.core.embedder.PerformableTree.perform(PerformableTree.java:388)
at
org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:293)
at
org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:266)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
*Thanks & Regards,*
*Prasad Nalajarla |+1 972-679-4886.*
…On Wed, Nov 6, 2019 at 10:53 AM Iaroslav Iershov ***@***.***> wrote:
@prasad150 <https://github.com/prasad150>
Looks like you are trying to use integration with incompatible version of
Serenity (possible outdated). Can you specify Serenity version in your
project?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#87?email_source=notifications&email_token=ANWJUIBLTQPS6JIZJHCMEWTQSLZBZA5CNFSM4JJWABM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDHHFVQ#issuecomment-550400726>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANWJUID57ITMJPYGI3VTI5LQSLZBZANCNFSM4JJWABMQ>
.
|
more log details. Here is the example. java.lang.NullPointerException Exception in thread "Thread-1" com.epam.reportportal.exception.ReportPortalException: Report Portal returned error
|
@prasad150 |
@prasad150 |
*Thank you for your reply. Please let us know when it is fixed .*
…On Mon, Nov 25, 2019 at 4:13 PM Iaroslav Iershov ***@***.***> wrote:
@prasad150 <https://github.com/prasad150>
Sorry for late response. Issue occurs because ofGivenStories tag that
isn't supported for now. I will schedule implementation, but not sure is
will be ready in nearest future.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#87?email_source=notifications&email_token=ANWJUIFRNMINIGGWC5EKZMTQVREZTA5CNFSM4JJWABM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFD7KEY#issuecomment-558363923>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANWJUIHRWB72DMGGLBBLHGDQVREZTANCNFSM4JJWABMQ>
.
|
This comment has been minimized.
This comment has been minimized.
@Invictum unfortunately, I am also getting the same error. When the tests pass, there is no issue. But when one of the example test fails, the entire execution is stopped and the below error is thrown. Also, there is no GivenStories tag being used. Any help would be greatly appreciated. Below are the versions and report portal dependency
11:54:29.827 [pool-2-thread-1] DEBUG n.s.core.photography.Darkroom - Closing darkroom |
Hi ..
I am using serenity runner with Jbehave BDD . when i try to integrate report portal serenity ,I am getting the below error.Please help me .
The text was updated successfully, but these errors were encountered: