Recently, I have read this book about the practical technology of DOTNET software testing, summarized the basic content outline, and used it as a reference. Many concepts, methodologies, tools, and best practices are adapted to other languages and platforms, and some tools are limited by. Net platforms.
. NetSoftware testing Basics
1. Introduction to software quality testing Basics
1) software quality and Software Testing
A. Software quality cannot be guaranteed only by software testing
B. Conduct comprehensive quality management
2) software development and software testing
With UML or programming, you can perform multi-level testing, such as unit, white box, and performance testing.
3) test tools and software
A. Score by Purpose
Test Management Tools
Automated function testing tools
Performance testing tools
Unit Test Tool
White box testing tool
Test Case Design Tools
B. billing method
Commercial testing tools
Open-source testing tools
Free Test Tool
C. Use the test tool correctly
4) software testing in MSF (Microsoft solution framework, Microsoft Project Management)
A. Implement a design process from role to use
B. The development process adopts a cyclical three-week cycle.
C. Require Unit TestingProgramAndSource codeSubmit together
D. requires 100% of the sourceCodeCode coverage)
2. Introduction to. NET software
1). Net Platform
2) memory management and testing methods (clrprofiler, gdiusage, and aqtime test memory leakage)
3) applications of reflection mechanisms in testing (many testing tools use reflection mechanisms for testing, such as qtp)
4). NET platform development tools and testing tools
A. Development tools: vsts, Team Foundation, Team edition for release ts, developers, Tester
B. Test Tools
Unit Test-nunit, nmock, nunitforms
Code Analysis and check tools-devpartner, stylecop
Performance test: LoadRunner, ntime, aqtime
C. NET software type (C/S structure, B/S structure, Web Service, smart devices) and Its Testing
3.. NET software debugging
1) debugging and Testing
2) testers have Basic Debugging skills
3) vs Basic Debugging skills
4) Assertion and tracking debug and trace
5) use of the diagnostics class
6) datasetwatch debug Dataset
7) The managed program is monitored separately. managedspy can display the control attributes, events, and other information of the managed program.
4. vs. Net unit test (data-driven DDT, code coverage)
5. nunit, nmock, ncover, and nunitforms (interface layer test)
6.. Net code analysis and automation
1) unit test and code analysis
In a broad sense, unit tests can be written into unit module test code, code standard check, comment check, code uniformity check, code review, testing of a single function module, etc.
2) VS 2005 fxcop, vs2008 code analysis (fxcop rules can be customized for development)
3) code analysis tool in computer devpartner Studio
4) codereview
Code review result analysis and rule Filtering
Rule manager edits the Code rules and descriptions and triggers the Code rules.
Add custom rules to rule Manager
5) stylecop test. net code style
7. Let the customer participate in the test --- fit (Framework for Integrated Test)
1) allows you to write test cases in the form of HTML tables for direct code testing.
2) Develop fit testfixture in
3) fitrunner.net, an open-source tool to help fit run
4) Integrate fit into wiki, fitnesse (software development collaboration tool), and use fitnesse to test. net code
8. qtp
1) provides plug-ins for. net
2) WPF controls supported by qtp
3) Windows Form Controls supported by qtp
4) web form controls supported by qtp
5) object spy
6) Windows form spy
7) dotnetfactory class library
8) Recording and running
9) qtp Object Model
10) qtp. Net extension development
11) qtp for Ruby, Java
9. testcomplete
1) Basic use, test project creation, script recording editing and running
2) testcomplete can be used as a common Windows Control for testing, or as an open program for testing.
3) testcomplete Object Model
4) Integration of testcomplete and mstest
5) testcomplete provides ODT (Object-Driven Testing)
10.. Net Automated Testing
1) call Windows API
2) spy ++
3) findwindex. Automation APIs
4) Reflection
5) use regular expressions to assist in testing, file processing to assist testing, and COM interfaces.
11. Monkey testing (Random Testing Technology)
1) random in testcomplete, which continuously records information about the tested program, logman, log. pictre screenshots
2) make monkey testing tools smarter
12. Load Testing in vs. net
1) Smoke Testing: how verification and testing programs are executed with minimal load in a short period of time
2) stress testing: whether the verification and testing programs can run correctly when the load is large for a long period of time
3) Performance Testing: verifies and tests the response capability of the program.
4) Capacity Test Plan: how verification and testing programs are executed under various capacities
5) vs.net built-in recording Web Testing, creating Load Testing Solutions, load testing counters, Running Load Testing, analyzing load testing results, and integrating the SQL tracking function
13. unit-level performance testing
1) ntime Code Performance Analysis
2) aqtime performs Code Performance Analysis and integrates it with vs.net.
3) vs provides Performance Tools
14. Use loadrnner for Performance Testing
. NetSoftware testing Basics
1.. NET software security testing
1) Memory leakage memproof, aqtime, purify, bndschecker, clrpriler, gdiusage
2) Cookie Security Test, encryption, content check, and disable cookie tampering Test
3) Denial of Service threat detection methods, mainly through code review
4) test whether the program creates a secure error message, including logs. Avoid theft
5) CSS Security, cross-site scripting, and tamperie Testing
6) SQL Injection
7) Wapiti Security Testing Tool detects web Vulnerabilities
2... NET software interface and User Experience Test
1). Net standard controls windows form, web form, and WPF
2) third-party controls such as component one, deveexpress, and infragistics
3) Software Interface Specification
4) Automated Testing of testcomplete simple interface specification
5) Accessibility accessibility Test Machine automated Web Accessibility toolbar, color contrast analyzer for Color comparison, qtp for accessibility Test
6) Globalization test. Code Analysis in vs is used for testing.
3.. NET network software testing
Link test Xenu link test tool
Asp.net page automated testing, using Dom, mshtml. dll, shdocvw. dll
IE Dom inspector
Dom inspector in Mozilla Firefox
View the DOM of Internet Explorer developer Toolbar
Automatic Page Test by selenium ide
Web Testing in vs.net, creating recording playback, transactions, etc.
4. Web Service Testing
Vs.net Web Service Testing
Web service test tool-webinject
Web service testing tool-soapui
LoadRunner performs stress testing on Web Services
5. browser compatibility test
Ietab, ieview (plug-in of Mozilla Firefox)
Use browsershots for browser compatibility testing
Use qtp to test browser compatibility
Use selenium for browser compatibility testing
6.. Net Smart Device Software Testing
Testcomplete support for Windows CE. net
Auxiliary testing tools Hopper, fakegps, and celllar emulator provided by Windows mobilesdk
Use of device emulator in testing
Vs remote tools used in testing, Remote Heap viewer, remote amplification, remote monitoring, remote process viewer, Remote File Viewer, Remote Registry Editor
7. Database Test
Vs. Net performs database unit tests, vs2005 team edition for database professionals, and vs2008 built-in
Database comparison (schema, data)
T-SQL testing framework, tsqlunit, simulated xunit, simulated with storeprocedure