automation-core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>cn.testnewbie.automation</groupId> <artifactId>automation-core</artifactId> <version>1.3.2</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <groupId>cn.testnewbie.automation</groupId> <artifactId>automation-parent</artifactId> <version>1.3.2</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>automation-core</artifactId> <version>1.3.2</version> <packaging>jar</packaging> <dependencies> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> </dependency> <dependency> <groupId>io.qameta.allure</groupId> <artifactId>allure-junit5</artifactId> <version>${allure.version}</version> </dependency> <!-- https://github.com/allure-framework/allure-java/tree/master/allure-junit5-assert Adding JUnit5-assert may lead to java.lang.OutOfMemoryError: Java heap space In order to avoid this issue add aop.xml into resources/META-INF/ folder. 断言耗时增加100% ... --> <!-- <dependency>--> <!-- <groupId>io.qameta.allure</groupId>--> <!-- <artifactId>allure-junit5-assert</artifactId>--> <!-- <version>${allure.version}</version>--> <!-- <scope>test</scope>--> <!-- </dependency>--> <dependency> <groupId>org.skyscreamer</groupId> <artifactId>jsonassert</artifactId> <version>1.5.0</version> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-db</artifactId> <version>2.0.2</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-dbcp2</artifactId> <version>2.8.0</version> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <scope>test</scope> <version>8.0.19</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> <configuration> <systemPropertyVariables> <!--启用自动扩展检测--> <junit.jupiter.extensions.autodetection.enabled>true </junit.jupiter.extensions.autodetection.enabled> <junit.jupiter.execution.parallel.enabled>true </junit.jupiter.execution.parallel.enabled> <!-- SAME_THREAD (默认) \ CONCURRENT (设置后默认所有method都是并发执行)--> <junit.jupiter.execution.parallel.mode.default>SAME_THREAD </junit.jupiter.execution.parallel.mode.default> <junit.jupiter.execution.parallel.config.strategy>dynamic </junit.jupiter.execution.parallel.config.strategy> </systemPropertyVariables> </configuration> </plugin> </plugins> </build> </project>