Automatically email thucydides reports after execution - jbehave

I am using thucydides and jbehave for test automation. Is there a way to automatically send email with test report that get generated as (target/site/thucydides/)index.html after every execution?

Related

Katalon Linux- Unable to get report

I have set up Katalon Test Suite on Linux machine.
My use case: I want to email Katalon Report but my report is not getting generated in Katalon.
I have installed different versions and tried with 5.0.1, 5.9.0 and 6.0.1 Version
Report Directory has execution files
Html report file is expected
You need to do something to get Report.
Since version 6.1.5, the Report feature has been migrated to Basic Report plugin. install Basic Report plugin to use this feature.
Currenly, Katalon studio only supports exporting Test Suite Collection reports to HTML format.Basic Report
Reports are automatically generated for Test Suite executions. Make sure you are running your tests inside of a suite.
If you have a single Test Case, put it inside of a Test Suite and then execute the TS.

How does data driven unit test works to retrieve data from VSTS work item?

I saw some test code using data driven test approach to read the test data from VSTS work item with following like code:
[DataSource("Microsoft.VisualStudio.TestTools.DataSource.TestCase", "https://myaccount.visualstudio.com/DefaultCollection;XXX", "11543012", DataAccessMethod.Sequential)]
I tried this approach also in my code, but got following like error:
The unit test adapter failed to connect to the data source or to read the data. Error details: TF26198: The work item does not exist, or you do not have permission to access it.
I am wondering what is the underlying mechanism of Data Source connection to VSTS work item? How does my code connect to VSTS work item? What credential it uses to access work item?
It uses cache credential of team explorer. Log on test/build with the same account of test agent/build agent, then connect to your VSTS through Team Explorer, then queue build/release to do test.
Note, if you are using Visual Studio Test task, the test is running on build agent, if you are using Run Functional Test, the test is running on test agent.

DBFit Fitnesse email notification

I would like to send out an email notification from DBFit/Fitnesse when a test suite execution completes with some failed tests.
I am unable to find any working solution, has anyone got one?
How do you run your tests?
I run tests on a build server and have that e-mail me and my team when one or more tests fail.
I use FitNesse's jUnit runner to execute the tests as a project automatically. Build servers have standard features to detect failed jUnit tests and notify people of those.

How do you expose gatling assertions in the gatling reports?

I have a gatling test suite and in the simulation script I have a few assertions testing that the average mean response time of groups/requests meets a certain threshold. I am using gradle to drive the suite and some assertions fail as expected.
However, when I look at the gatling test reports I see no indication of failed assertions. How do I expose the fact that certain assertions have failed based on looking at the report alone?
The gatling suite is integrated in the CI which spits out the gatling report as an artefact. We want visibility in the team as to which assertions failed by looking at the report.
That's not possible at the moment. Could you open a feature request on github, please?

Sending mail when test fails in Selenium IDE?

I have big website with many registered users and I need to create a looped test with automatically log-in and log-out my test user (one time per hour). It's very easy in Selenium IDE. But next thing is sending an email when logging in will not work. And I don't know how I have to do this. Can Selenium IDE send me an email after every unsuccessful log-in attempt in that test?
You should use a continuous integration tool for that type of thing. Check out Jenkins which is easy to install. Then within Jenkins you create a job that launch your Selenium IDE test (probably through a BATCH or SHELL script). And within this Jenkins job, you can configure to receive an email in case of failure.
Once you have this Jenkins CI in place, you will be able to use it to launch all sort of jobs. Not only the test, but also the build and other engineering automated tasks. That's become the backbone of your Engineering organisation along with your SCM and Issue Tracker.
As Laurent Said you can use Jenkins to email you when tests fail but you will have to use Seleniumhq instead of Selenium-ide.
The good news is that you can still write your tests in selenium-ide and then transfer them across to seleniumhq and let Jenkins take it from there.