Skip to main content

Test assembly .dll files, specflow.json or App.config do not exist in project with Specflow

Answered

Comments

3 comments

  • Andreas Willich

    The Test Assembly is created when you build the project. It is the output assembly of the project.

    specflow.json/app.config is not needed for SpecFlow+ LivingDoc. You want to get the TestExecution.json which gets generated when you run the tests.

     

    Aren't they generated after you have run your tests?

    I am not exactly sure which issue you have at the moment.

    0
  • Petar Popovic

    Hi Andreas Willich no, the TestExecution.json is not generated after test run, I searched the entire project structure.

    What can I check on my side to troubleshoot why it doesn't generate?

    0
  • Petar Popovic

    This is now resolved, TestExecution.json was not displaying when searching inside IDE, but I found it manually.


    LivingDoc html now generates fine on my Desktop when using the standard command:

    livingdoc test-assembly C:\path\Application\bin\Debug\net6.0\Application.dll -t C:\path\Application\bin\Debug\net6.0\TestExecution.json --output C:\Users\Petar\Desktop

    0

Please sign in to leave a comment.

Powered by Zendesk