Software testing using Monkey (random testing + script testing)
1, Basic concepts
The so-called monkey test (Money Test), also known as funny test and strange use test, refers to that in software testing, testers can carry out various strange operation modes to test the stability of software. Monkey test, generally speaking, is a test method for the robustness of the system to the input of signal facto ...
Added by ierpe on Mon, 03 Jan 2022 02:29:36 +0200
The end of Java concurrency series: thoroughly understand the working principle of java thread pool and want to enter BTAJ
//Use the thread pool to perform a task
executor.execute(() -> {
// Do something
});
//Closing the thread pool will prevent the submission of new tasks, but it will not affect the submitted tasks
executor.shutdown();
//Close the thread pool, prevent new task submission, and interrupt the currently running thread
executor.showdownNow( ...
Added by Traveller29 on Sat, 18 Dec 2021 16:26:50 +0200
Python 3, how simple is the Pytest unit test framework? Everyone can get started in 8 minutes!!
1. Introduction
Little loser: brother fish, why don't you talk about the technology of test development recently, such as Xiaoyu: I'll go ~ ~ you've agreed to bring up this matter together? Little loser: why do you say that? Xiaoyu: because recently, a sister complained to me about why she didn't talk about the knowledge of test developmen ...
Added by isedeasy on Wed, 15 Dec 2021 02:16:48 +0200
Comprehensive summary of Java annotations, original by Ali experts
=====
@Target
It is added to the Annotation through @ target to explain the object scope modified by Annotation: Annotation can be used for packages Types (classes, interfaces, enumerations, Annotation types), type members (methods, construction methods, member variables, values), method parameters and local variables (such as loop variable ...
Added by Charles256 on Tue, 14 Dec 2021 23:37:39 +0200
[title] is there such an api interface automation testing framework or platform?
background
At present, there are many api testing tools on the market jmeter,postman. When JMeter needs to add a PreProcessor, it supports java and JavaScript languages to write code on it, does not support python, and data parameterization is not convenient. Postman is used for interface debugging, which is not convenient for automatic test ...
Added by Evoke on Wed, 01 Dec 2021 15:16:43 +0200
Automatic testing of interface based on python
This article comes from the author: Sun Yanhui Share on GitChat, "read the original" to see what questions you have communicated with the author
1, Introduction
Starting with a simple login interface test, this paper adjusts and optimizes the interface call posture step by step;
Then the main points of the interface testin ...
Added by JoeyT2007 on Thu, 25 Nov 2021 21:37:00 +0200
SpringBoot -- JUnit 5 for unit testing
Article directory:
1. Changes in JUnit 5
2. JUnit 5 common notes and tests
2.1 @DisplayName,@Disabled,@BeforeEach,@AfterEach,@BeforeAll,@AfterAll
2.2 @Timeout
2.3 @RepeatedTest
3. Assertion
3.1 simple assertion
3.2 array assertion
3.3 combined assertions
3.4 exception assertion
3.5 timeout assertion
3.6 rapid failure
4. Preconditio ...
Added by Tucker1337 on Fri, 12 Nov 2021 11:25:08 +0200
After reading this article, you can find out exactly how to do interface testing
01 common project architecture
02 what is an interface
Interface: a unified access method provided by the server program. It usually uses HTTP protocol to execute different business logic through different URLs, different request types (GET, POST) and different parameters.
Most of the business operations of the client need to call the serv ...
Added by Carline on Mon, 18 Oct 2021 05:20:41 +0300
[JUnit] JUnit 5 Foundation 4 - Maven integration, parametric test, repeated test [End]
[JUnit] JUnit 5 Foundation 4 - Maven integration, parametric test, repeated test [End]
Previous series:
[JUnit] JUnit5 foundation 1 - use of junit5 structures and assertions[JUnit] JUnit5 foundation 2 - lifecycle annotation and DisplayName annotation[JUnit] JUnit 5 Foundation 3 - dependency injection, assume, enable / disable testing and nest ...
Added by jaxdevil on Fri, 08 Oct 2021 01:01:40 +0300
Interface automation test (Python+Requests+Unittest)
(1) The significance of interface automation test and the idea of separation of front and back ends
Advantages and disadvantages of interface automation test:
advantage:
1. Test reusability.
2. The maintenance cost is lower than that of UI automation.
Why? UI Higher automated maintenance costs?
Because the front page changes too fas ...
Added by mikeatrpi on Wed, 29 Sep 2021 23:25:54 +0300