Add 35 tests covering variable substitution, computed variables, directory transforms, merge mode, and edge cases. Includes test harness and 8 fixture templates for offline testing.
110 lines
3.6 KiB
XML
110 lines
3.6 KiB
XML
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>io.qrun.qctl</groupId>
|
|
<artifactId>qctl-parent</artifactId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
<artifactId>qctl-integration-tests</artifactId>
|
|
<name>qctl-integration-tests</name>
|
|
<description>Integration and E2E tests for qctl CLI</description>
|
|
|
|
<dependencies>
|
|
<!-- Command modules under test -->
|
|
<dependency>
|
|
<groupId>io.qrun.qctl</groupId>
|
|
<artifactId>qctl-core</artifactId>
|
|
<version>${revision}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.qrun.qctl</groupId>
|
|
<artifactId>qctl-qqq</artifactId>
|
|
<version>${revision}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.qrun.qctl</groupId>
|
|
<artifactId>qctl-qbit</artifactId>
|
|
<version>${revision}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.qrun.qctl</groupId>
|
|
<artifactId>qctl-qrun</artifactId>
|
|
<version>${revision}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.qrun.qctl</groupId>
|
|
<artifactId>qctl-qstudio</artifactId>
|
|
<version>${revision}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Test frameworks -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>${junit.jupiter.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>${assertj.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${mockito.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Picocli for command parsing -->
|
|
<dependency>
|
|
<groupId>info.picocli</groupId>
|
|
<artifactId>picocli</artifactId>
|
|
<version>${picocli.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- Run integration tests with failsafe -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>3.5.2</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<systemPropertyVariables>
|
|
<qctl.native.binary>${project.basedir}/../qctl-cli/target/qctl</qctl.native.binary>
|
|
</systemPropertyVariables>
|
|
<includes>
|
|
<include>**/*IT.java</include>
|
|
<include>**/*E2ETest.java</include>
|
|
</includes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|