Allure and Jira X-Ray integration - allure

Our customer is using Allure and Cypress in his development environment and would like to integrate this environment into Jira X-Ray.
As far as I could read, Allure is processing test result and report. How those test result can be send back to Jira-Ray in order to collect test result metrics in Jira ?
Thanks for your findings, sample will be appreciate as we are new to this
regards

If using Cypress, you can use the report produced by the test runner to integrate with Xray. If you're using Cucumber together with Cypress, you'll use "cypress-cucumber-preprocessor" package; you'll need to decide which workflow to adopt. If you're not using Cucumber, then the flow is simpler and you just need to upload the results, usually using a JUnit XML kinda of report.
This is independent on whether you're using Allure or not.
This tutorial is for Xray on Jira Cloud but it can easily be adapted if you are using Jira onpremises (server/Datacenter).

Related

Spring application query result +jpa

I am request to build simple application with ORM. I am not sure how to output to console the result from the query if I am going to use spring? Planning to do it on h2 database and hibernate as ORM. Project will be divided into Domain and CLI sub modules where on CLI I should output the query result using services from the domain module. Would appreciate your suggestions. I read that can be achieved with Command line runner but did not find any info related with fetching data and output to console?

Submit only specific tests to Xamarin Test Cloud

We have an Android and iOS applications and we wrote some Xamarin Test Cloud tests in Calabash. We can run them successfully both locally and on the cloud. Taken from the docs on the Xamarin website, we have a few parameters available when we submit to the cloud, but none of them provides a possibility to run only specific tests (features). Our tests are put in source control, so at the moment, the only resolution we could find is to temporary delete the ones we do not want to submit and run the test-cloud command.
My question:
Is there a way to only submit a specific *.feature file? Or run only tests based on a tag (e.g. #somefeature)
Yes, but not with a feature file. The best way to do this is by Categorizing your tests. Then you can use the --category parameter in your Xamarin Test Cloud command line submission.

Sonarqube plugin development 'Decorator' alternative?

With the release of sonarqube 5.2, the decorator and batch components have been deprecated. Going through the code I found that they want us to use MeasureComputer instead.
Now, I had a plugin which needs the email settings of the sonar setup, fetch some basic user information and the assignee of each issue.
How do I access the email settings and user information?
Update
As per this JIRA ticket, the data associated to the analysis is sent to some compute engine which resides at the sonar server. This is where the issues are created, assigned e.t.c. So, the information regarding the issue will no longer be available even in some PostJob.
User finder alternative: I am now using the user web service to fetch information I require as far the author of the issue is concerned.
IssueFilter helps me lay my hands on each issue that is reported.
My purpose here is to create a custom report immediately after the analysis where a link to each issue is shown. I don't think I'll be able to achieve this using the sonar plugin.

reports using ssrs from JIRA

I am looking for way to build reports using SSRS from JIRA if that is not possible I am okay moving the data from Jira to a SQL DB utilizing SSIS. I am new to Jira and REST API. Connecting directly to the Jira back end Database is not an option
The jira api currently only supports JSON. so your best bet is to either build a custom reporting services extension to handle JSON as a data source or create a webservice that passes through the json calls and converts the results to xml which SSRS will be able to handle.
while both of these sound difficult depending on your requirements may only take a few lines of C# code:
there also seem to be a few 3rd party options but I haven't tried them

Apex and salesforce

I am new to salesforce and apex as well. trying to use to understand both while working. I was wondering about following things
Is it possiable to run the Java code inside Salesforce, instead of Apex?
Is it possible to have packages in the Apex code so that I could enable the like wide classed together?
Is there any easy way to debug an Apex application on my local system? At present I am trying to put system.debug and execute it with Salesforce.
Can I configure the environment variable in the salesforce and use it in the Apex?
Thanks a lot for helping me out
You cannot run Java. Only Apex.
Not sure what you mean by packages. Apex doesn't have anything like Java packages.
There is no local debugging or local engine. Only runs in the cloud.
For environment variables, custom settings are probably the closest analog.
You can't work with java directly in salesforce. But you can use Salesforce in your local java application and it sync your data with salesforce. I used it before and it's pretty easy, try to google it.
you can also go with database.com + heroku/amazon if you want to develop with different language in salesforce platform
Just started with Apex and Salesforce myself. I realize this is an old post but here is my advice so far. Use Install java 1.6, Helios eclipse, and then the force.com ide plugin. In that order.

Resources