table of Contents
2 Introduce the test items you are most familiar with
3 Name the bug that impressed you the most
4 Talk about the difference between testing PC-web and mobile apps
5 Talk about why you want to test the interface, talk about your views
8 What functions did you use in python-unittest:
14 Do you have any questions for me
16 Understand continuous integration continuous deployment
What functions are used in 18 charles
-
1 Introduction
-
2 Introduce the test items you are most familiar with
-
3 Name the bug that impressed you the most
-
4 Talk about the difference between testing PC-web and mobile apps
-
5 Talk about why you want to test the interface, talk about your views
-
6 Parameterization of interface automation: data is encapsulated in a file under a file path, and data is read from the file every time a case is executed
-
7 Interface automation, if you need to use the return data of the previous interface, how to get the data
-
8 What functions did you use in python-unittest:
-
Call the encapsulated http request (requests)
-
Call unittest to write a case
-
Get the returned result (.json or .text)
-
Call assertEqual and other assertions in unitest to determine whether the data returned by the interface is correct
-
case execution (unittest.main)
-
Execution order: execute in alphabetical order of the string
-
@skip skip this case when executing
-
Join the case set (suites)
-
Generate execution report htmltestrunner
-
9 lnux command
- View the first 10 lines of logs: tail -10 xxx.logs
- View all logs with error, and print out 3 lines before and after: tail | grep'eror' -3
- grep has many parameters, you can try to learn
-
11 sql statement
-
Change the information of all employees whose gender is male to female
-
Table (name, gender, score) to query the 3 boys with the highest scores
-
select name from table group by score desc limit 3
-
12 Puzzles
What is the angle between the clock and the minute at 11 o'clock and 11:10: 85 degrees
-
13 Career planning
-
14 Do you have any questions for me
-
15 If a login button is given and there is no response when clicking it, how do you locate the problem?
-
16 Understand continuous integration continuous deployment
-
17 Charles agency principle
-
What functions are used in 18 charles