Presentation is loading. Please wait.

Presentation is loading. Please wait.

Print Driver Testing Tools Ashwin Needamangala Senior Test Development Lead Documents and Printing Team

Similar presentations


Presentation on theme: "Print Driver Testing Tools Ashwin Needamangala Senior Test Development Lead Documents and Printing Team"— Presentation transcript:

1

2 Print Driver Testing Tools Ashwin Needamangala Senior Test Development Lead Documents and Printing Team ashwinn@microsoft.com

3 Agenda Driver Quality Challenges Tools for the software development lifecycle Development Phase Tools walk-through Demonstration of development tools Testing Phase Tools walk-through Demonstration of testing tools Call to Action

4 Driver Quality Challenges Print driver problems hard to find early No native support for resource tracking in print subsystem No print-specific tools for extended runtime checks Numerous distribution vehicles for print-specific developer and test tools High rate of bug discovery during Windows Logo Kit (WLK) submission runs

5 Tools for the Software Development Lifecycle (SDL) Development Phase Print Verifier IsXps PTConform LooksGood INFGate Testing Phase Print Verifier Windows Logo Kit (WLK) Tests XPS Content Library

6 Development Phase Print Verifier Runtime verification tool Designed to catch violators in the act Flags errors via debugger breaks Supports both XPSDrv and GDI drivers Ships as part of Application Verifier Verifies print resource usage (leaks, use-after-free, etc.) Provides runtime PrintSchema conformance verification

7 Development Phase IsXps OPC and XPS conformance validation tool Easy-to-use command line interface Detailed error information helps quickly isolate bugs Ships in the WDK, WLK and SDK PTConform PrintSchema conformance validation tool Easy-to-use command line interface with detailed error information Ships in the WDK, WLK and SDK Integrated into Print Verifier for runtime PrintSchema conformance verification

8 Development Phase LooksGood Automated rendering verification tool Uses Windows Presentation Foundation to render XPS to TIFF Ships in the WDK and WLK INFGate Syntax checker for INF files of print and imaging drivers Easy-to-use command line interface Ships in the WDK and WLK

9 Demo Development Tools

10 Testing Phase Print Verifier Use for detection of incorrect print resource usage (leaked printer handles, use-after-free, thread-unsafe use, etc.) Turn on runtime PrintSchema conformance validation for easy detection of PrintTicket/PrintCapabilities bugs Enable fault injection to detect bugs in failure code paths within the driver

11 Testing Phase Windows Logo Kit (WLK) Tests Driver Test Manager (DTM) infrastructure for normal execution of tests Most tests can be executed without DTM Copy executable from controller \\Controller_Name\Tests\ fre\nttest\printscantest\printing Enable Application Verifier Spoolsv.exe: Basics + Printing PrintFilterPipelineSvc.exe: Basics + Printing Test executable: Basics + Printing Run Spoolsv.exe and PrintFilterPipelineSvc.exe under debugger Execute test under debugger

12 Testing Phase XPS Content Library Conformant XPS content from diverse producers Non-conformant or invalid XPS content (Violate-One) Corrupted XPS content

13 Demo How to run WLK tests without DTM

14 Distribution Vehicles WDKWLKSDK IsXps PTConform LooksGood INFGate WLK Tests XPS Content Library WDK = Windows Driver Kit WLK = Windows Logo Kit SDK = Software Development Kit

15 Summary Numerous easy-to-use tools available Cover range of software development lifecycle needs Print Verifier is critically important Using these tools through your SDL will increase the probability of having a failure-free WLK submission run

16 Call To Action Push quality assurance upstream Get familiar with available tools Look in WDK, WLK and SDK for these tools Use tools through all phases of the software development lifecycle Try out Print Verifier against your XPSDrv filters and GDI minidrivers Integrate Print Verifier into your development and test environments Visit the Print Verifier blog

17 Additional Resources Print Verifier Blog: http://blogs.msdn.com/PrintVerifierhttp://blogs.msdn.com/PrintVerifier Newsgroup on www.msdn.comwww.msdn.com Microsoft.public.win32.programmer.tools Tools Download Application Verifier: http://go.microsoft.com/fwlink/?LinkID=79601 http://go.microsoft.com/fwlink/?LinkID=79601 Application Verifier Documentation: http://msdn2.microsoft.com/en-us/library/aa480483.aspx http://msdn2.microsoft.com/en-us/library/aa480483.aspx Print Devices on the WHDC Web Site: http://www.microsoft.com/whdc/device/print/default.mspx http://www.microsoft.com/whdc/device/print/default.mspx XPS: http://www.microsoft.com/xpshttp://www.microsoft.com/xps Email: xpsinfo@microsoft.com and prninfo@microsoft.comxpsinfo@microsoft.comprninfo@microsoft.com

18 Related Sessions SessionDay / Time Best Practices for Developing Printer DriversMon. 8:30-9:30 and Tues. 8:30-9:30 Printer Installation and Driver ManagementMon. 9:45-10:45 and Tues. 2:45-3:45 Printer VerifierTues. 11-12 Printer Driver Testing ToolsTues. 9:45-10:45 and Wed. 8:30-9:30 Printer Driver Testing and the Windows Logo KitTues. 1:30-2:30 XPS Rasterization Services in Windows 7Mon. 1:30-2:30 and Tues. 5:15-6:15 Printer Driver Development in Windows 7Mon. 11-12 and Tues. 4-5 Discussion: XPS Driver Development in Windows 7Mon. 4-5 and We. 1:30-2:30


Download ppt "Print Driver Testing Tools Ashwin Needamangala Senior Test Development Lead Documents and Printing Team"

Similar presentations


Ads by Google