|Mocking Workspace Objects [message #517694]
||Mon, 01 March 2010 17:51
| Cameron Bateman
Registered: July 2009
I am wondering if anyone knows of mock implementations of the IResource hierarchy. Specifically, what would be ideal would be a way to load a mock IProject from a zip file containing an actual exported project.
We have a lot of tests that run under the "Run As Plugin Test" test runner that grab a project zip and programatically import projects into the test-time workbench. This works well, but has grown non-performant as our suite has grown into hundreds and now thousands of test cases.
In my ideal scenario, we would have a way to run these tests either "quickly" using a mocked or otherwise inject test IProject but also "slowly" the way we currently do with PDE test runner. I couldn't find anything this in automated test suite, although I may have missed something.
Does anyone know of anything like this?
Powered by FUDForum
. Page generated in 0.01455 seconds