d4d59fa339
This commit introduces all of the Windows Terminal and Console Host source, under the MIT license.
21 lines
1.4 KiB
Markdown
21 lines
1.4 KiB
Markdown
### TAEF ###
|
|
TAEF, the Test Authoring and Execution Framework, is used extensively within the Windows organization to test the operating system code in a unified manner for system, driver, and application code. As the console is a Windows OS Component, we strive to continue using the same system such that tests can be ran in a unified manner both externally to Microsoft as well as inside the official OS Build/Test system.
|
|
|
|
The [official documentation](https://msdn.microsoft.com/en-us/library/windows/hardware/hh439725\(v=vs.85\).aspx) for TAEF describes the basic architecture, usage, and functionality of the test system. It is similar to Visual Studio test, but a bit more comprehensive and flexible.
|
|
|
|
For the purposes of the console project, you can run the tests using the *TE.exe* that matches the architecture for which the test was build (x86/x64) in the pattern
|
|
|
|
te.exe Console.Unit.Tests.dll
|
|
|
|
Replacing the binary name with any other test binary name that might need running. Wildcard patterns or multiple binaries can be specified and all found tests will be executed.
|
|
|
|
Limiting the tests to be run is also useful with:
|
|
|
|
te.exe Console.Unit.Tests.dll /name:*BufferTests*
|
|
|
|
Any pattern of class/method names can be specified after the */name:* flag with wildcard patterns.
|
|
|
|
For any further details on the functionality of the TAEF test runner, *TE.exe*, please see the documentation above or run the embedded help with
|
|
|
|
te.exe /!
|