Software Testing Knowledge Daquan

Source: Internet
Author: User
Tags testcomplete

First, the software testing the basic article

    1. Introduction to Software Quality testing basics

Software quality and software testing

0 Software quality is not guaranteed by software testing only

0 Total Quality Management

Software development and software testing

0 have UML or programming can do more layers of testing, such as unit, white box, performance test

Testing tools and Software testing

0 According to the use of

· Test management Tools

· Automated Functional Testing Tools

· Performance testing Tools

· Unit Testing Tools

· White Box Test Tool

· Test Case Design Tools

0 by charging method

· Business testing Tools

· Open Source Testing Tools

· Free testing Tools

0 proper use of test tools

Software testing in the MSF (Microsoft Solution Framework, Microsoft Project management)

0 Implementing a design process from a role to a usage scenario

0 The development process uses a cyclic three-week cycle

0 requires that the unit test program and the source code of the development program be submitted together

0 required 100% of the source code to execute the test (code coverage)

    1. . NET Software Foundation Introduction

.net platform

Memory management and test methods (clrprofiler,gdiusage,aqtime test memory leaks)

Application of reflection mechanism in testing (many test tools are tested using a reflection mechanism such as QTP)

Development tools and test tools for the .net platform

0 Development tools: Vsts,team Foundation,team Edition for Architects,developers,tester

0 Test Tools

· Unit Test, Nunit,nmock,nunitforms

· Code Analysis and Inspection tools DEVPARTNER,STYLECOP

· Performance test: Loadrunner,ntime,aqtime

.net software Type (c/s structure, b/s structure, Web service, smart Device) and its testing

    1. . NET Software Debugging

Commissioning and testing

Testers Master basic debugging capabilities

VS Basic Debugging Tips

Assertion and Trace Debug,trace

Use of the Diagonostics class

Datasetwatch Debugging a DataSet

Managed programs are monitored separately

Managedspy can display information such as control properties and events for managed programs

    1. Vs.net Unit Test (data-driven ddt,code coverage)

    2. Nunit,nmock,ncover,nunitforms (interface layer test)

    3. . NET code Analysis and automation

Unit Testing and Code analysis

The generalized unit test can be the test code of writing Unit module, code standard Check, comment check, code uniformity check, code review, test of individual function module, etc.

Vs 2005 fxcop,vs2008 Code Analysis (FXCOP rules can be customized for development)

Code analysis tools in computer DevPartner Studio

0CodeReview

0Code Review Results analysis, rule screening

0Rule Manager Edit code rules and descriptions, code rule trigger conditions

0Rule Manager Add a custom rule

STYLECOP testing the. NET Code style

    1. Let the customer participate in the test to-fit (Framework for integrated test)

Allows customers to write test cases in the form of HTML tables for direct testing of the code.

VS in Developing fit testfixture

Fitrunner.net, open source tools, auxiliary fit operation

Integrate fit into the wiki, FitNesse (software Development collaboration tool), test. NET code with FitNesse

    1. QTP

Plug-in for. Nert

QTP Supported WPF controls

QTP Supported Windows Form controls

QTP Supported Web Form controls

Object Spy

Windows form. Spy

Dotnetfactory Class Library

Recording Run

QTP Object Model

Qtp.net plug-in extension development

QTP for Ruby,java

    1. Testcomplete

Basic use, test project creation, script recording edit run

Testcomplete can be tested as a normal Windows control,

You can also use it as an open program to test.

Testcomplete Object Model

Integration of Testcomplete and MSTest

Testcomplete provides the ODT (object-driven test)

    1. . NET Automation Testing

Calling the Windows API

Spy +

Findwindex. APIs such as the Automation class

Reflection

Use regular expressions to assist with testing, file processing functions to assist in testing, COM interfaces, etc.

    1. Monkey test (random test technique)

Random in Testcomplete, keep track of information about the program being tested, Logman,log.picture screenshot

Make the Monkey test tool more intelligent

    1. Load testing in the Vs.net

Smoke test: How the verification and testing program performs with minimal load in a short time period

Stress testing: Verifying and testing the program to operate correctly over a long period of time under heavy load

Performance testing: Verifying and testing the responsiveness of the program

Capacity test plan: How validation and testing programs are performed under various capacities

Vs.net built-in recording Web tests, create load test scenarios, load test counter sets, run load tests, analyze load test results, integrate SQL Trace features

    1. Unit-level performance testing

Ntime Performance analysis of code

Aqtime performance analysis of code, integrated into Vs.net

VS provides a performance tool

    1. Using LoadRunner for performance testing

Ii.. NET Software Testing Basics

    1. Security testing for. NET Software

Memory Leak Memproof,aqtime,purify,bundschecker,clrpriler,gdiusage

Cookie security testing, encryption, content checking, disabling tampering cookie testing

Methods of denial of service threat detection, primarily through code reviews

Test whether the program creates secure error messages, including logs. Avoid being stolen

CSS security, cross-site scripting attacks, Tamperie-assisted testing

SQL injection

Security Testing Tool wapiti detecting Web page vulnerabilities

    1. Interface and user experience testing for. NET Software

.net standard Control Windows Fomr,web FORM,WPF

Third Point Component one,deveexpress,infragistics

Software Interface Specification Development

Testcomplete Simple Interface Specification test automation

accessibility accessibility test machine Automation Web Accessibility toolbar,colour Contrast analyser for color contrast, QTP for accessibility testing

Globalization testing,

The code analysis in VS is tested

    1. Testing of. NET network software

Link Test Xenu link test tool

ASP. NET page Automation test, using dom,mshtml. Dll,shdocvw. Dll

IE Dom Inspector

Mozilar the Dom Inspector of the Firefox browser

Dom view of Internet Explorer Developer toolbar

Selenium's IDE for page automation testing

Web tests in Vs.net, creating recording playback, transactions, etc.

    1. Testing of Web Services

Vs.net for Web service testing

Web Services Test Tool –webinject

Web Services Test Tool-SOAPUI

LoadRunner a stress test on Web services

    1. Browser compatibility test

Ietab,ieview (Plug-in of Mozila Firefox)

Browser compatibility testing using Browsershots's services

Using QTP for browser compatibility testing

Using Selenuim for browser compatibility testing

    1. . NET Smart Device Software testing

Testcomplete to Windows CE. NET support

Windows MOBILESDK provides a secondary test tool hopper,fakegps,cellular Emulator

The use of Device Simulator (Emulator) in testing

VS Remote Tools is used in testing, remotely heap viewer, remote zoom, remote monitoring, remote process Viewer, remote File Viewer, remote Registry Editor

    1. Database testing

Database unit test in Vs.net, VS2005 Team Edition for database professionals,vs2008 built-in

Database comparison (Shcema,data)

T-SQL Test Framework, Tsqlunit, Analog xunit, simulated with storeprocedure

End.

Software Testing Knowledge Daquan

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.