Skip to content

Test automation #38

@andreaslennartz

Description

@andreaslennartz

Thanks to @Mehdi-Lucas, who provided a fork that used version 2.7.0, I was able to get it working.
Now when starting Revit manually, I am able to load the test dll into the Test runner, and execute the tests. When I attach a debugger, I am even able to debug - which is great so far!

I have one question regarding test automation:
Is there are way to load and run the tests via command line (e.g. dotnet test or something else) while Revit is open?
I know that the Revit API only can be accessed if Revit is running , so the question is if there is a way to get some test automation set up using this project.?
Or to rephrase it a bit differently: What would be the best way if I want to run my tests automated, without manual interaction?

Thanks for your support!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions