Skip to content

Commit

Permalink
WIP 314 Move Integration test to the right place
Browse files Browse the repository at this point in the history
And make it compilable (but exclude it from test execution
until we can call Maven appropriately from Maven).

POMs should use the just built Maven plugin (version)
  • Loading branch information
ascheman committed Dec 14, 2024
1 parent a653672 commit adf110c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 4 additions & 0 deletions htmlSanityCheck-maven-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ dependencies {

testImplementation libs.junit.jupiter
testImplementation 'org.assertj:assertj-core:3.26.3'

testImplementation 'com.soebes.itf.jupiter.extension:itf-assertj:0.13.1'
testImplementation 'com.soebes.itf.jupiter.extension:itf-jupiter-extension:0.13.1'
}

test {
useJUnitPlatform()
exclude '**/*IT.class'
}

tasks.register('copyClasses', Copy) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package org.aim42.htmlSanityCheck.maven.it;
package org.aim42.htmlsanitycheck.maven.it;

import com.soebes.itf.jupiter.extension.MavenGoal;
import com.soebes.itf.jupiter.extension.MavenJupiterExtension;
import com.soebes.itf.jupiter.extension.MavenTest;
import com.soebes.itf.jupiter.extension.MavenGoal;

import com.soebes.itf.jupiter.maven.MavenExecutionResult;

import static com.soebes.itf.extension.assertj.MavenITAssertions.assertThat;
import static org.hamcrest.MatcherAssert.assertThat;

@MavenJupiterExtension
public class MavenIT {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<plugin>
<groupId>org.aim42.htmlSanityCheck</groupId>
<artifactId>htmlSanityCheck-maven-plugin</artifactId>
<version>2.0.0-rc1</version>
<version>${version}</version>
<executions>
<execution>
<phase>compile</phase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<plugin>
<groupId>org.aim42.htmlSanityCheck</groupId>
<artifactId>htmlSanityCheck-maven-plugin</artifactId>
<version>2.0.0-rc1</version>
<version>${version}</version>
<executions>
<execution>
<phase>compile</phase>
Expand Down

0 comments on commit adf110c

Please sign in to comment.