Skip to main content

Specflow+ LivingDoc Test results generating as other instead of passing

Answered

Comments

17 comments

  • Gerald Maboshe

    Hey Andreas Willich I am also stuck on this. Any help?

    0
  • Kiran Kumar Kalmekolan

    Hi, I am facing the same issue.

    0
  • Müller Mike

    Hi, I'm having the same problem. Tests pass in the pipeline but the test results in LivingDoc are all shown as Others. 

    0
  • Östen Lundahl

    Having the same problem.

    0
  • Balazs Epresi

    Good afternoon!

    In this case we would need more information, so it would be great if all of you create a request/ticket and we can discuss the details there. 

    Thanks

    0
  • Nils Lausberg

    Not sure what is the exact configuration of the persons complaining about the issue in this thread, but believe it should be the same that I reported a few days earlier under  https://support.specflow.org/hc/en-us/community/posts/360014167137-Specflow-Livingdoc-Azure-DevOps-plugin-Problems-with-uploading-test-results-with-Azure-Devops-Server-w-o-internet-access- In the comments you see some additional log entries I faced

    0
  • Balazs Epresi

    Hello,

    Because I don't see any details of your projects, I can only add a generic information regarding this issue:

    If you want to see the Test Execution results in AzDo, you have to provide the Test Project Root folder and not a subfolder (e.g. not the Features folder).

    We are going to update our documentation and will try to provide some warnings when the configurations are not matching.

    Nils Lausberg maybe this will solve your issue as well, please give it a try.

    3
  • Östen Lundahl

    Changing the root folder solved the issue for me.

    1
  • Lynnox Davis

    Balazs Epresi Thank you! That solved the problem.

    1
  • Nils Lausberg

    Balázs Epresi  Yes, it also solves also my issue. So probably good to change documentation. Thank you

    1
  • Kiran Kumar Kalmekolan

    Balazs Epresi Thank you. Changing the root folder solved the issue for me too.

    1
  • Gerald Maboshe

    Changing feature folder to root works. Thanks!

    1
  • Sudhindra Kumar
     

    Balazs Epresi : Does this work for parallel execution using Specrun ?

    0
  • Rishen Soekhoe

    Hi, I'm facing this issue as well, though I am already providing the Test Project Root folder. Is there something else that could cause this issue?

    0
  • icthomson7

    Hello,

    I'm facing a similar issue, I've switched to trying to use test assembly too but still facing this problem. I have 3 separate test projects in my solution and 2 of them show results fine, the other just shows as "Other".

    I've tried digging in to see if there's any differences between the projects and setup, but can't see anything. 

    Anyone got any other ideas?

    0
  • Eliott Morales

      I have the same problem, report is generated but tests shown as Other. I can generate the report just fine on local. Azure is the problem. any suggestions? Thank you

    - task: SpecFlowPlus@0
        inputs:
            generatorSource: 'TestAssembly'
            projectFilePath: '$(System.DefaultWorkingDirectory)'
            testAssemblyFilePath: '$(System.DefaultWorkingDirectory)\**\**\**\**\CRMTestProject.dll'
            testExecutionJson: '$(System.DefaultWorkingDirectory)\**\**\**\**\TestExecution.json'     
        continueOnError: true
        displayName: livingdoc
    0
  • Eliott Morales

    I have also tried this and same result. I have tried other configurations, The report gets generated but no test results displayed.

      - task: SpecFlowPlus@0
        inputs:
            generatorSource: 'TestAssembly'
            projectFilePath: '$(System.DefaultWorkingDirectory)\CRMTestProject'
            projectName: 'LivingDoc Reporter'
            testAssemblyFilePath: '$(System.DefaultWorkingDirectory)\CRMTestAutomation\bin\Debug\net6.0\CRMTestProject.dll'
            featureDataJsonFilePath: '$(System.DefaultWorkingDirectory)\CRMTestAutomation\bin\Debug\net6.0\TestExecution.json' 
            projectLanguage: 'en'   
            includeTestOutput: 'all'        
        continueOnError: true
        displayName: livingdoc1
    0

Please sign in to leave a comment.

Powered by Zendesk