WPF Application quality guide
Download this document: wpf_application_quality_guide_ctp4_final.zip
(ArticleIt is too long. There is a problem with publishing after editing. Please download it and read it)
WPF Application quality guide
Directory
Introduction 4
Introduction 4
Editions of this document 4
Suggested roadmap 5
Getting started 7
Introduction to software testing 7
The testing stack 8
Testing resources 8
Introduction to the WPF programming stack 8
WPF architecture 9
WPF Design Principles 9
Major subsystems of WPF 10
General development process for a WPF Application 12
Resources for best practices for creating WPF applications 12
TEST methodology, planning, and strategies 13
Automatic Testing 15
Data-Driven Testing 15
Overview 15
Methodology 18
Conclusion 20
Ui testing 20
Basic guidelines for making UI available 20
Discovery of UI elements 21
UI events and interaction 27
Visual verification testing 28
Media testing 29
Verification of animations and Other transitions 31
Graphics and 3D content testing 37
API testing and unit testing 37
Performance and scalability testing 37
Development practices and references 37
Testing practices 37
Security Testing 37
Best practices for developing secure WPF applications 38
Testing practices 38
Threat modeling 38
Globalization and localization testing 38
Basic globalization and localization concepts 39
Best practices for globalizing WPF applications 40
Creating localizable UI layouts in WPF 41
Approaches to localizing WPF applications 43
Process Flow for baml localization 44
Additional resources 48
Accessibility testing 49
Basic accessibility concepts 49
Implementing wpf ui for accessibility 49
Accessibility testing best practices 51
Key resources 53
Stability and stress testing 53
What is stress and reliability testing? 54
Why run stress tests? 54
Considerations for stress testing 54
Stress-testing Principles 55
Test-case design 55
Stress-testing best practices 57
Catching and reporting bugs 57
Stress-test metrics and quality tracking 60
Custom Control and extensibility testing 61
Scenario and integration testing 65
Manual testing and record and play 66
Choosing whether to automate a test 66
How to write a good manual test 66
Recording a manual test 67
Tools 70
Testapi 70
Ui automation tools 70
Debugging tools 71
Performance profiling tools 71
WPF application design and development tools 71
Other useful tools and resources for WPF developers and testers 72
Resources 73
Acknowledgements 74
Appendix 75
A1. building a WPF application test suite by using Visual Studio team system 75
A2. building a WPF application test suite by using nunit or xunit 75
A3. WPF Data Binding and debugging 75
A4. WPF interoperability 75
A5. considerations for WPF Browser Applications 76