150 likes | 235 Views
Reliability Requirements. Agenda. Reliability requirements Eliminating unnecessary restarts Application Verifier Windows Error Reporting (WER) Reliability test cases. Reliability Requirements. Eliminate unnecessary restarts Eliminate application failures. Agenda.
E N D
Agenda • Reliability requirements • Eliminating unnecessary restarts • Application Verifier • Windows Error Reporting (WER) • Reliability test cases
Reliability Requirements • Eliminate unnecessary restarts • Eliminate application failures
Agenda • Reliability requirements • Eliminating unnecessary restarts • Application Verifier • Windows Error Reporting (WER) • Reliability test cases
Eliminating Unnecessary Restarts • Use the Restart Manager API • Be “Restart Manager-aware” • Functionality provided by Windows Installer
Agenda • Reliability requirements • Eliminating unnecessary reboots • Application Verifier • Windows Error Reporting (WER) • Reliability test cases
Application Verifier • Enables fixing of application failures • Carries out tests on applications • Basic tests: • Exceptions • Handles • Heaps • Locks • Memory • Thread Local Storage (TLS) • Low resource simulation • Least-Privileged User Account (LUA) Predictor • Miscellaneous tests: • DangerousAPIs • Dirty Stacks
Agenda • Reliability requirements • Eliminating unnecessary reboots • Application Verifier • Windows Error Reporting (WER) • Reliability test cases
Windows Error Reporting • Mini-dump of crash reported to Microsoft • ISVs access crash data through Developer Portal • Clients that crash in the future are directed to the solution
Windows Error Reporting Requirements • Do not disable WER • Sign up to receive crash data • Map applications to company • ISVs MUST fix 60% of crash volume • ISVs MUST maintain an average fix rate of 10 buckets per month • ISVs can issue patches and service packs through the Windows Developer Portal
Agenda • Reliability requirements • Eliminating unnecessary restarts • Application Verifier • Windows Error Reporting (WER) • Reliability test cases
Reliability Test Cases • Verify application is Restart Manager-aware • Verify application does not break into debugger with the specified AppVerifier checks • Verify application’s UI thread handles only exceptions that are known and expected
Summary • Reliability requirements • Eliminating unnecessary restarts • Application Verifier • Windows Error Reporting (WER) • Reliability test cases
Additional Resources • Restart Managerhttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/rstmgr/rstmgr/about_restart_manager.asp • AppVerifierhttp://www.microsoft.com/downloads/ • Windows Error Reportinghttp://msdn.microsoft.com/isv/resources/wer/