On unit testing
What's the use of unit testing
Improve the work efficiency of the whole team.
Quality code is a contribution to the whole team
Improve the programmer's sense of responsibility and code quality.
Through unit testing, ensure that your code is reliable and complete, which is responsible for yourself and the team
Get a regression test tool for ...
Added by techker on Tue, 08 Mar 2022 07:07:07 +0200
Security test: Xiaomi (xiaomi.com) website SMS interface security test, is it safe to use sliding verification code?
- "hidden dangers are more dangerous than open fire, prevention is better than disaster relief, and the responsibility is heavier than Mount Tai"
preface
This paper introduces the security test process of sending SMS verification code interface in detail, including ideas, some test codes and test results. This test website ...
Added by melbell on Mon, 07 Mar 2022 17:03:47 +0200
[Python automated testing 23] interface automated testing practice III_ Dynamic parameterization and data forgery
1, Foreword
this article will mainly explain the dynamic parameterized form of use case design in interface testing. In addition, there is a portal of a series of articles below, which is still being updated. Interested partners can also go to check it. Let's have a look together without saying much~
Series of articles ...
Added by sriphp on Sun, 06 Mar 2022 06:24:46 +0200
3 minutes, learn a little knowledge of Lambda
♥ Previous remarks
Remember the little knowledge of Lambda introduced to you before? Today, let's introduce the key points of flow API.
Stream API
Stream is the key abstract concept of dealing with collections in Java 8. It can specify your of collections and perform data operations such as finding, filtering and mapping.
Stream us ...
Added by nivek9991 on Sat, 05 Mar 2022 09:48:48 +0200
Java unit testing tool for software quality and testing: JUnit4 learning
preface
JUnit is a unit test framework of Java programming language, which is a simple framework for writing reusable test sets. JUnit has a very important development in test driven development. It is one of the unit testing frameworks collectively called xUnit, which originated from JUnit. XUnit is a test framework based on test driven ...
Added by SteveFrost on Fri, 04 Mar 2022 20:39:17 +0200
Continuous integration interface automation - jmeter+ant+jenkins and HTML report extension
ant batch execute Jmeter
1, Environmental preparation
1. JDK environment: Java Downloads | Oracle
2. ANT environment: Apache Ant - Binary Distributions
3,Jmeter: Apache JMeter - Download Apache JMeter
4. Add ant-jmeter-1.1.1. To the extras directory of JMeter Copy the jar package to the lib directory under the ant installation directory
5 ...
Added by sunnyside on Fri, 04 Mar 2022 19:37:54 +0200
pydantic learning and use ---- use of basemodel
preface
The main way to define objects in pydantic is through models (models inherit BaseModel). pydantic is mainly a parsing library, not a validation library. Verification is a means to achieve the goal: establish a model that conforms to the types and constraints provided. In other words, pydantic guarantees the types and constraints of t ...
Added by Kisses on Wed, 02 Mar 2022 08:46:36 +0200
Software Test-Linux Build Test Environment
1. Database
yum -y install mysql mysql-server mysql-devel
MySQL (client), MySQL-server (server), mysql-devel (library)
Start MySQL:service mysql start
Confirm installation success: mysql-u root-p
View the database: show databases;
Use the database: use mysql;
Query from the user table for all users that can log in and the host that suppo ...
Added by raguskra on Sun, 27 Feb 2022 20:53:30 +0200
Fundamentals of software testing
Fundamentals of software testing
Software Foundation
1: Definition of software
Software testing (English): Software Testing),
Describes a process used to promote the verification of software correctness, integrity, safety and quality.
In other words, software testing is a review or comparison process between actual output and ex ...
Added by thimble on Sat, 19 Feb 2022 13:11:21 +0200
Construction of web automated testing framework (python+selenium+pytest+pom+ddt)
This document uses the popular pom design pattern to set up the test framework, write test cases, generate test reports, and finally integrate jenkins.
1, selenium
selenium is an open source automatic testing tool for web ui, which will not be introduced in detail.
2, Environment construction
The environment construction is very simple. P ...
Added by Random on Fri, 18 Feb 2022 05:46:01 +0200