The use of Linux - gtest testing framework

gtest is a Google framework for writing C + + tests, which can run on many platforms (including Linux, Mac OS X, Windows, Cygwin, etc.). Based on xUnit architecture. It supports many easy-to-use features, including automatic identification test, rich assertion, assertion customization, death tUTF-8...

Posted by Mark1inLA on Sun, 16 May 2021 03:59:14 +0930

Python third party library requests for interface testing

1, Introduction Requests is a very practical Python HTTP client library, which is often used when writing crawler and testing server response data. Requests is a third-party library of Python language, which is specially used to send HTTP requests 2, Premise pip install requests 3, get's requeUTF-8...

Posted by khan kaka on Sat, 29 May 2021 03:04:13 +0930

HttpRunner skips use cases, records and generates use cases, and uses case layering mechanism

Skip use cases Usage scenarios: 1. rely on tests, such as interfaces in WeChat official account platform, which require token values to execute and do not execute when they are not acquired. 2. When the developer modifies the interface problem, it can skip the use case. 3. Unfinished test caseUTF-8...

Posted by Rairay on Tue, 08 Jun 2021 04:35:06 +0930

Notes for java Basics

What are notes Annotation is equivalent to a tag. To add a comment to a program is to mark it with a tag. The javac compiler, development tools, and other programs can then use reflection to see if your classes and elements are marked up or not. See what your program is marked for, and do the UTF-8...

Posted by faraco on Tue, 06 Jul 2021 02:35:48 +0930

Java basic syntax_ 27_ Foundation strengthening 03

1. Integration of management system and server 1.1 preparation [application] demand Improve the previously written dark horse information management system to realize the function that can be accessed through the browser preparation Copy the dark horse management system code in the data to theUTF-8...

Posted by phpDVWeaver on Sun, 25 Jul 2021 05:19:32 +0930

Whether getInteger or getIntValue is a question

lead getInteger() and getInteger() are both methods in com.alibaba.fastjson.JSONObject. Their functions are similar. They obtain the value value of a key from a JSONObject object. The difference is that getInteger() returns an object of integer type, while getInteger() returns an int value, whUTF-8...

Posted by Rodney H. on Sat, 07 Aug 2021 12:05:52 +0930

python interface automation test - basic use of openpyxl

preface When you do interface automation testing, there are more and more test cases. In this case, if all test cases pass code management, the code will be very bloated and the maintenance cost will be very high; Therefore, we usually manage all test cases through Excel, and openpyxl library pUTF-8...

Posted by gentusmaximus on Tue, 10 Aug 2021 06:29:03 +0930

Python 3 + telnetlib to realize simple automatic test

1 Introduction to telnetlib 1.1 INTRODUCTION Official introduction document: telnetlib – Telnet client – Python 3.9 6 documentation The telnetlib module provides a Telnet class that implements the Telnet protocol. 1.2 common functions and usage of Library 1.2. 1 establish connection There are tUTF-8...

Posted by youqing on Mon, 20 Dec 2021 20:49:01 +1030

Error using Junit unit test "No tests found matching Method test01(Test01) from ClassRequest@5387f9e0 "

abnormal Error executing unit test in class under src/main/java package: java.lang.Exception: No tests found matching Method test01(Test01) from org.junit.internal.requests.ClassRequest@5387f9e0 at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:40) at com.intellij.junit4UTF-8...

Posted by $0.05$ on Sun, 26 Dec 2021 12:16:50 +1030

Python unit test framework unittest

Although it is not specialized in testing, it is not harmful to dabble in the knowledge of testing. For details, please visit the official website: unittest -- Unit Test Framework -- Python 3.10 1 document Common assertion methods: Method Checks that assertEqual(a, b) a == b assertNotEqual(a, bUTF-8...

Posted by mikusan on Thu, 30 Dec 2021 14:06:21 +1030