The Art of Software Testing_Reading Notes (6)

The openness and easy accessibility of the Internet platform, users have high expectations of the website, and the market is fiercely competitive. If fast response and intuitive browsing and query functions are not provided, users are likely to turn to competitors' websites.

1. The basic structure of an e-commerce website

 

The first layer: WEB layer, display layer or presentation layer, visual content is provided to end users

The second layer: business layer, dealing with business processes, including transaction processing, user identification, data confirmation, program logs, etc.

The third layer; the data layer, in order to meet the second layer of business, provide pure data operation interface, how to store and query data

2. The challenge of testing

  • The huge user base, the user’s knowledge background, the equipment used, the browser, the operating system, and the network performance
  • Business environment The business that needs to be considered for e-commerce is very complex, involving complex businesses such as commodities, merchants, logistics costs, taxes, and current accounts.
  • Location Used in different countries, involving internationalization, translation, time difference, currency, etc.
  • Security The website is open to the outside world to protect it from hacker attacks, paralysis, stealing customer information, etc.
  • Test environment The production environment is different from the test environment. It is necessary to copy the test environment to the production environment, establish network environment, routing, switch and firewall policies, etc.

3. Test strategy

3.1 Presentation layer test

  1. Content test, overall aesthetics, font, color, spelling, correctness and accuracy of content, resolution
  2. Web site structure, including the loss of interactive connections, graphics, and buttons,
  3. User environment, web browser version and operating system configuration

3.2 Business layer test

Focus: Business layer testing finds errors in the business logic of the application system, and uses black box and white box testing techniques to complete coverage testing

content:

1. The performance is loaded for a long time, slow transaction processing

2. Data validity Data verification, data collection and display must verify the legality of the data

3. Credit card payment, email confirmation, tax and logistics fee calculations must be handled correctly, errors that cannot be tolerated, may bear legal responsibility

3. 3 Data layer test

Focus: Testing of the database management system used by the application to store and retrieve information

content: 

  1. Response time, should quantify the consumption time of structured query statement SQL language
  2. Data integrity Data storage is appropriate and correct
  3. Fault tolerance and recoverability Maximum MTBF and minimum MTTR

 

 

 

Guess you like

Origin blog.csdn.net/LoveG_G/article/details/114144922