Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

TAEF with custom tests

gkoremangkoreman Member Posts: 1

How do you create and run custom TAEF tests in a visual studio integrated environment?

I am developing a file system mini-filter driver (which is why I selected this forum over the other forums), as I'm interested in the workflow of other mini-filter driver developers.

I have followed the instructions on writing tests here:
I am able to copy my DLL to the target machine and run tests using TE.exe and the tests run successfully.

I see that there is documentation on writing a driver test and it references using a visual studio template for the project, however I can't seem to find any of the referenced templates.

From the list of installed templates in the New Project dialog box, select Visual C# > Windows Driver .
Select Windows Driver Test in C#.

I've attempted to use the Driver Test Group Explorer to find my tests but I can't find any way to add custom tests to the list.
In the Test Explorer I have attempted to use "Run All" to auto-discover the tests in my project, but none of the installed test executors can find any tests.

What I'm trying to do is develop my driver using visual studio and then install the driver and run a mixture of built-in and custom tests while optionally using the kernel debugger to debug the diver. Is anyone using this kind of workflow? Are there other ways to do something similar? How do mini-filter developers quickly iterate and test their drivers, considering that the virtual machine may frequently need to be reset?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA