Selenium and Appium Python automated tests generate HTML test reports

Just as you are in the brand new TestProject Python SDK(Part 1 and Part 2 )As you may have read in the previous article on, the SDK will generate beautiful HTML test reports and automatically publish them to the TestProject platform for you without other configuration (you can also download them as PDF files). But did you know that reporting ...

Posted by khaitan_anuj on Fri, 04 Mar 2022 06:42:40 +0100

TestableMock tutorial

preface TestableMock is Alibaba's unit testing tool. It supports Mock public methods, private methods, static methods, construction methods and other functions. It is easy and fast to use At present, the main Mock tools are Mockito, Spock, PowerMock and JMockit. The basic differences are as follows: toolprincipleMinimum Mock unitRestrictions ...

Posted by pbdude23 on Mon, 31 Jan 2022 11:22:18 +0100

Junit5 usage example

1, Create unit test service Right click Service - > New - > other - > JUnit test case - > next, select the method to create the unit test, or click finish directly Relevant dependencies are attached at the end of the article 2, Sample code // Get dev environment configuration file @ActiveProfiles("dev") // Specify startup class @ ...

Posted by bulldorc on Mon, 17 Jan 2022 08:57:46 +0100

jsp+servlet+jdbc to realize CRUD of student table

1. Technology use jsp+Servlet+jdbc idea 2020.3 Mysql 5.8 tomcat 8.5 sqlYog 8.7 2. Prepare tools jdbc Driver Download: For mysql drivers above 5.8, a special upgrade driver is required Portal: mysql-connector-java-8.0.13.jar/.keep · xuge/java - Gitee.com 3. Frame construction 3.1 establish student information table CREATE TABLE stude ...

Posted by nathan1 on Fri, 10 Dec 2021 17:43:02 +0100

POI - simple reading and writing Excel

Official website address: https://poi.apache.org/ Basic functions: HSSF - provides the ability to read and write documents in Microsoft Excel format. (version 2003, can only store 65536 rows of data at most)XSSF - provides the ability to read and write documents in Microsoft Excel OOXML format. (2007 edition, unlimited data can be stored) 1. ...

Posted by bentobenji on Tue, 07 Dec 2021 12:31:00 +0100

With all due respect, you may not really be able to java Article 6: Stream performance is poor?Don't make a cloud out of a cloud

1. Feedback from fans Q: stream is five times slower than for loops. What is the reason for this? Answer: The Internet is a time when news is flooding. Three people become tigers when something is false and real happens.As a technology developer, you have to do it yourself. Don't let the world go by. Indeed, I've read this article by this fan, ...

Posted by amites on Wed, 24 Jun 2020 02:51:30 +0200

java framework SSM learning -- Spring's transaction control

When it comes to Spring AOP, we are going to enhance transaction control by ourselves, and the Spring framework is ready for us to use these functions. Of course, don't think that SrpingAOP can only enhance the transaction function. AOP can be used to enhance any method you want to enhance. So how do ...

Posted by supernova on Sun, 21 Jun 2020 10:18:32 +0200

OO Unit 3 Summary

1. The theoretical basis and application tool chain of JML 1. Theoretical basis Atomic expression \result: Represents the return value of a non-void method after execution. \old(expr): Indicates the value of an expression expr before executing the corresponding method \not_assigned(x, y,...): Indicates whether the variable in ...

Posted by shawnyoung on Sun, 21 Jun 2020 03:10:32 +0200

Spring Boot Principle Deep-Dependent Management

2.2 Deep Principle The traditional Spring framework implements a WEB service, which needs to import various dependent JAR packages, then write corresponding XML configuration files, etc. Compared with Spring Boot, it is more convenient, fast and efficient.So how does Spring Boot really do that? 2.2.1 Dependency Management Question: Why doesn't ...

Posted by joshi_v on Mon, 15 Jun 2020 21:30:25 +0200

SpringBoot+RabbitMQ learning notes RabbitMQ message persistence processing

I. Introduction   There is an autoDelete attribute in both @ Queue and @ Exchange annotations. The value is a string of boolean type. For example: autoDelete = "false". @Queue: whether to delete the queue automatically after all consumer clients are disconnected: true: delete, false: do not delete. @Exchange: automatically delete the ...

Posted by mslinuz on Wed, 29 Apr 2020 11:52:35 +0200