Message 1 of 6
Mock RevitAPI

Not applicable
05-20-2016
01:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I bet this question has been raised a bunch of times before, but this is an important matter (to me).
Q: Why does RevitAPI.dll require Revit to run? Will it ever be possible to mock the API?
Reason: I want do write API-dependent code in a modern way using TDD. Of course the test should be able to run outside of Revit, so it will require mocking of the API.
This is easy to do when programming towards Tekla or CSi software (what i worked with in my previous job).
Regards,
Eirik Aasved Holst