Allure empty report being generated using Karma

Joel Hernandez

I'm using the following plugin

However after generating the report, which is the following ,please note that it was a test test (pun non intended)

<?xml version="1.0" encoding="UTF-8"?>
<ns2:test-suite xmlns:ns2="urn:model.allure.qatools.yandex.ru" start="1413502062818" stop="1413502063182">
    <title>Car</title>
    <test-cases start="1413502062834" stop="1413502062840" status="passed">
        <title>should return null</title>
        <description>Something</description>
        <steps start="1413502062817" stop="1413502062817" status="passed">
            <title>Create an empty car and return it</title>
        </steps>
        <steps start="1413502062828" stop="1413502062828" status="passed">
            <title>Create an empty car and return it</title>
        </steps>
    </test-cases>
    <test-cases start="1413502062867" stop="1413502062880" status="passed">
        <title>should return null</title>
        <description>Something</description>
        <steps start="1413502062867" stop="1413502062867" status="passed">
            <title>Create an empty car and return it</title>
        </steps>
    </test-cases>
    <test-cases start="1413502062818" stop="1413502063182" status="passed">
        <title>should return null</title>
    </test-cases>
</ns2:test-suite>

And using allure generate "" in the location of the xml file, the following is generated.

enter image description here

Any kind of help is highly appreciated, thank you!

vania-pooh

This is because Karma adapter only supports Allure 1.3.x series. You could try to generate the same report like that:

$ allure generate -v 1.3.9 path/to/directory/with/xml

There's an issue about updating Karma adapter to 1.4.x but in fact nobody of the team works on that because of low demand and because we are not using Karma at all. So the fastest way to be able to use Allure 1.4.0 with Karma adapter is to send a PR that we will review and merge. If you're really interested in using Allure with Karma - you could even become an official supporter of this adapter.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Angular karma code coverage report folder not generated

Unable to generate allure report using testng and maven

Allure-report empty when allure-results have multiple result folders

Reportviewer showing "Report is being generated" endlessly .net

Report not being generated with Maven-Surefire-Report plugin

Selenium WebDriver Report Generation using Allure Reporting tool

getting 404 error when generating allure report in protractor using allure command line tool

Empty PDF report is generated when we have multiple graphs using html2canvas and jsPDF library

Is Allure report supported by Travis?

How the report is being generated in rdl to other format like Excel or pdf?

Allure report: nothing shown in Chrome

Deep customize Allure report pages

NullPointerException when trying to create allure report by allure-jenkins-plugin

Karma report browser subfolders

No Karma report on singlerun = false

How to attach custom/existing screenshot in allure report?

How to get the Cucumber steps and attachments in Allure report?

Allure report ignores multiple skipped mocha tests

Jenkins freestyle build run with allure report

How to add a screenshot to allure report with python?

Would Allure report handle testcase per parameters?

Trying to add a new Tab in Allure report

Allure report shows the past reports as well

Allure Report - Do not mark tests as flaky

Reports being generated in separate karate_report folder for each test runner

MapStruct implementations not being generated when using `mvn package`

Allure generates empty reports page on local machine

Using Allure to capture a screenshot on fail

function is not being called with a karma spyOn