Grab test result in JSON within code(test)

51 views
Skip to first unread message

Reuven Volnoboy

unread,
Dec 26, 2016, 7:05:26 AM12/26/16
to Serenity BDD Users Group
My ultimate goal is during maven build to save json report to mongodb. Is it possible to grab report  within a code, after execution? Also, is there a way to send to remote server full report folder? I want to keep all reports, to see how we perform in a future?

John Smart

unread,
Dec 26, 2016, 7:31:02 AM12/26/16
to Reuven Volnoboy, Serenity BDD Users Group
All of the test results are stored in JSON format in the target/site/serenity directory.

On 26 December 2016 at 12:05, Reuven Volnoboy <voln...@gmail.com> wrote:
My ultimate goal is during maven build to save json report to mongodb. Is it possible to grab report  within a code, after execution? Also, is there a way to send to remote server full report folder? I want to keep all reports, to see how we perform in a future?

--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-users+unsubscribe@googlegroups.com.
To post to this group, send email to thucydides-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
___________________________________________________
John Smart | Wakaleo Consulting  |  +44 7398 832273
Making smart teams collaborate better
http://johnfergusonsmart.com  |  john....@wakaleo.com
___________________________________________________

We love breaking down silos and helping smart teams collaborate better! Ask about our tailored on-site workshops in Agile Product Planning, BDD Requirements Discovery,  BDD, TDD and Clean Coding, and Advanced BDD Test Automation.
___________________________________________________
Message has been deleted

Reuven Volnoboy

unread,
Dec 26, 2016, 7:35:15 AM12/26/16
to Serenity BDD Users Group, voln...@gmail.com
I know, so the only way is to write separate script to get this json from file and send to Mongo?


On Monday, December 26, 2016 at 2:31:02 PM UTC+2, John Smart wrote:
All of the test results are stored in JSON format in the target/site/serenity directory.
On 26 December 2016 at 12:05, Reuven Volnoboy <voln...@gmail.com> wrote:
My ultimate goal is during maven build to save json report to mongodb. Is it possible to grab report  within a code, after execution? Also, is there a way to send to remote server full report folder? I want to keep all reports, to see how we perform in a future?

--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-use...@googlegroups.com.
To post to this group, send email to thucydid...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

John Smart

unread,
Dec 26, 2016, 7:35:59 AM12/26/16
to Reuven Volnoboy, Serenity BDD Users Group
You could write a custom reporter if you want to do it as part of the Serenity build process.

On 26 December 2016 at 12:34, Reuven Volnoboy <voln...@gmail.com> wrote:
I know, so the only way is to write separate script to get this json from file and send to Mongo?

--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-users+unsubscribe@googlegroups.com.
To post to this group, send email to thucydides-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages