• Summary of interface test case ideas


    Recently, in a project, I summarized the design ideas of interface test cases mentioned in eolink usage training, mainly involving two major directions. The first direction is independent interface testing; The second direction is multi-dimensional interface testing, which is achieved by constructing scenarios to enrich the interface test data. Use case design: direction 1: Case […]

  • Python rookie tutorial 13: file operation


    Read and write files Open () will return a file object open(filename, mode) Full list of files opened in different modes:https://www.runoob.com/python3/python3-inputoutput.html       Simple code 1 f=open(“exp.txt”,’w’) 2 f.write(“hhhhhh”) 3 f.close() 4 f=open(“exp.txt”,’w’) 5 f.write(‘fugaighhhhhh’) 6 f.close() 7 f=open(“exp.txt”,’a’) 8 f.write(‘\nzhuijiahhhh’) 9 f.close() Method of file object  f.read() To read the contents of a […]

  • Experiment of mongodb adding, deleting, checking and modifying database


    Mongodb database experiment 1: Add data Operation 1: single insert: insert the user dataset in yelp database and the data required below _ ID: defined as your own class; user_ ID: own student number + any character (more than 22 characters take the first 22 digits, less than 22 characters add letters, numbers or underscores); […]

  • What is the meaning of MySQL int type length


    When we set the int type, we can set int (11) to give int a length. We always think that the length of the value stored in MySQL’s int is related to the length of the set int. for example, int (3) can only store 3 digits, and int (11) can store 11 digits. In […]

  • Leetcode interview question 17.13


    Interview question 17.13 Title Source: leetcode https://leetcode-cn.com/problems/re-space-lcci subject Oh, no! You accidentally deleted the spaces and punctuation in a long article, and the upper case was also made lower case. Like a sentence”I reset the computer. It still didn’t boot!”It has become”iresetthecomputeritstilldidntboot”。 Before dealing with punctuation and case, you have to break it into words. […]

  • Leetcode 97. Interleaved string | Python


    97. Interleaved string Title Source: leetcode https://leetcode-cn.com/problems/interleaving-string subject Given three strings S1, S2 and S3, verify whether S3 is composed of S1 and S2 interlaced. Example 1: Input: S1 = aabcc, S2 = dbbca, S3 = aadbbcac Output: true Example 2: Input: S1 = aabcc, S2 = dbbca, S3 = aadbbbaccc Output: false Thinking of […]

  • Regular verification often used in PHP development


    preface In the process of developing PHP program, there are often many expressions to deal with, and verifying the validity of the data filled in the form must be considered to prevent the invalid data from affecting the database.There are a lot of tutorials and manuals about the grammar of regular expressions on the Internet, […]

  • Experiment of adding, deleting, checking and modifying database in mongodb


    Mongodb database experiment 1: Add data Operation 1: single insert: the user dataset inserter in yelp database and the data required as follows A kind of ID: self defined class; user_ ID: own student number + any character (more than 22 characters take the first 22 digits, less than 22 characters add letters, numbers or […]

  • JS regular is enough


    In our actual projects, we often encounter some common regularization methods. Here we will sort them out and update them in the future.(welcome to collect and add) Common regularization methods export const regExpConfig = { Mobile: / ^ 1 ([3 | 4 | 5 | 7 | 8 |] \ D {9} $/, // mobile […]

  • Data type in Oracle: parameters of VARCHAR2


    VARCHAR2 (byte) stores bytes. VARCHAR2 (char) stores characters.   VARCHAR2 (2 byte) can store up to 2 bytes, and VARCHAR2 (2 char) can store up to 2 characters.   When the database character set is: 1. ForAL32UTF8One Chinese character is one character, and one Chinese character occupies one3VARCHAR2 (2 byte) can not save one Chinese […]

  • C practical exercises 27


    Title:Using recursive function call method, the input 5 characters are printed out in reverse order. Program analysis:None. example: #include int main() { int i=5; void palin(int n); Printf (“please input 5 characters, 40: 40”); palin(i); printf(“\n”); } void palin(n) int n; { char next; if(n<=1) { next=getchar(); Printf (“output results in reverse order: 40:40”); putchar(next); […]

  • “Selfie tutorial 49” Python_ ADB batch character input


    Android terminal product system or app test involves input box boundary value test,For example, WiFi hotspot setting hotspot name, or search input box,You need to verify that the text input box can input up to 256 characters,How to quickly realize the input of 256 characters? Preparation stage Manually click the WiFi hotspot name text input […]