python+selenium+unittest automated testing framework
preface
About the introduction of automated testing, there are many materials on the Internet, which will not be repeated here. UI automated testing is a kind of automated testing and the top layer of the test pyramid. selenium is an automated testing tool applied to the web. It supports multi platform, multi browser and multi language to real ...
Posted by spicey on Mon, 22 Nov 2021 19:12:36 -0800
TensorFlow by Google over fitting optimization Machine Learning Foundations: Ep #7 - Image augmentation and overfitting
1. Over fitting optimization, data enhancement, Cats v Dogs Augmentation
https://colab.research.google.com/github/lmoroney/dlaicourse/blob/master/Course%202%20-%20Part%204%20-%20Lesson%202%20-%20Notebook%20(Cats%20v%20Dogs%20Augmentation).ipynb Let's start with a very effective model for learning Cats v Dogs.
It's similar t ...
Posted by Lukey on Sat, 20 Nov 2021 20:48:06 -0800
python+appium automated testing - start appium service in python for appium concurrent testing
Notes from beginners of APP Android automatic test. Please give us more advice on what is wrong
1, Start appium server
1. Start a single appium server through the command line window
appium -- Directly open the default 4723 port number
appium -p 4723 -- use-p To start the fixed port number appium The server
Copy code
2. Start multiple ...
Posted by jorgep on Fri, 19 Nov 2021 22:47:33 -0800
Detailed explanation and use of the configparser module of Python
1. Configparser installation
pip3 install configparser
2. Introduction to configparser
The python package used to read the configuration file;Generally, this module is used to encapsulate some constants when doing automated testing. For example, database, email, user name and password, project constant, etc;The usage is determined accor ...
Posted by briansol on Fri, 19 Nov 2021 14:13:52 -0800
2021 most complete Python interface test automation tutorial [learning materials attached]
[Abstract] interface definition: interface generally has two meanings. One is API (Application Programming Interface), which is a set of definitions, programs and protocols to realize the mutual communication between computer software through API interface. The other is interface, which is a specification of object-oriented languages such as ja ...
Posted by daredevil88 on Thu, 28 Oct 2021 00:09:07 -0700
Python test framework pytest (16) runs the last failed case, views and clears the cache, and customizes the mark
catalogue
1. Run last failed case
2. View and clear cache
2.1,--cache-show
2.2,--cache-clear
3. Custom tag mark
1. Run last failed case
All use cases are executed, and the first partial use cases fail. At this time, after the tested system is repaired, the last failed use case can be executed.
On the command line, ente ...
Posted by 87dave87 on Sun, 24 Oct 2021 22:24:26 -0700
java multithreading learning notes
1, Introduction to implementation method
There are three ways to create threads in java
The second interface implementation is commonly used, because the way to implement the interface is more flexible than the way to inherit classes, and it can also reduce the coupling between programs.
2, Inherit Thread class
Thread class is the ...
Posted by Zephyr_Pure on Wed, 20 Oct 2021 11:57:26 -0700
Code execution + failure rerun of TestNg of SpringBoot
Code execution + failure rerun of TestNg of SpringBoot
My design idea is to directly add the corresponding Controller layer and service layer in SpringBoot, and directly encapsulate the run and failure rerun into interfaces. In fact, the Controller layer to realize the call is only a way and an exit. The important thing is the design of the im ...
Posted by bicho83 on Tue, 19 Oct 2021 00:29:59 -0700
Design pattern - prototype pattern
preface
This is an article written after drinking half a bottle of yellow rice wine at night. I don't know the quality. Recently, I have a little insomnia at night. I fall asleep after 3 o'clock. Basically, I can see the sun every day. At the age of 21, I should have a carefree life with a monthly salary of more than 10000, but I feel very anx ...
Posted by cavolks on Wed, 13 Oct 2021 10:05:17 -0700
Java learning notes - unit testing (JUnit framework)
Before unit testing, you need to install the JUnit framework. Here you can see my previous blog Record the problems encountered when installing the JUnit framework and the solutions
After installation, you can write the code of unit test
What is unit testing? Unit testing is to write test code for the smallest functional unit. The smallest ...
Posted by warriors2003 on Sun, 10 Oct 2021 00:13:28 -0700