fi.luontola.buildtest:buildtest

Utilites for asserting about build artifacts.

License

License

GroupId

GroupId

fi.luontola.buildtest
ArtifactId

ArtifactId

buildtest
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

Utilites for asserting about build artifacts.
Project URL

Project URL

https://github.com/orfjackal/buildtest
Source Code Management

Source Code Management

https://github.com/orfjackal/buildtest

Download buildtest

How to add to project

<!-- https://jarcasting.com/artifacts/fi.luontola.buildtest/buildtest/ -->
<dependency>
    <groupId>fi.luontola.buildtest</groupId>
    <artifactId>buildtest</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/fi.luontola.buildtest/buildtest/
implementation 'fi.luontola.buildtest:buildtest:1.0.2'
// https://jarcasting.com/artifacts/fi.luontola.buildtest/buildtest/
implementation ("fi.luontola.buildtest:buildtest:1.0.2")
'fi.luontola.buildtest:buildtest:jar:1.0.2'
<dependency org="fi.luontola.buildtest" name="buildtest" rev="1.0.2">
  <artifact name="buildtest" type="jar" />
</dependency>
@Grapes(
@Grab(group='fi.luontola.buildtest', module='buildtest', version='1.0.2')
)
libraryDependencies += "fi.luontola.buildtest" % "buildtest" % "1.0.2"
[fi.luontola.buildtest/buildtest "1.0.2"]

Dependencies

compile (5)

Group / Artifact Type Version
junit : junit jar 4.12-beta-1
org.hamcrest : hamcrest-core jar 1.3
org.ow2.asm : asm-debug-all jar 4.0
com.google.guava : guava jar 13.0.1
com.intellij : annotations jar 9.0.4

test (3)

Group / Artifact Type Version
org.hamcrest : hamcrest-library jar 1.3
org.mockito : mockito-core jar 1.9.5
com.googlecode.catch-exception : catch-exception jar 1.0.4

Project Modules

There are no modules declared in this project.

BuildTest

Utilites for asserting about build artifacts. For usage examples, see Jumi's BuildTest.java

Requires Java 6 or greater.

This project is available in Maven Central using the following dependency:

<dependency>
    <groupId>fi.luontola.buildtest</groupId>
    <artifactId>buildtest</artifactId>
    <version>1.0.2</version>
</dependency>

Version History

BuildTest 1.0.2 (2014-11-13)

  • Fixed ProjectArtifacts.getProjectJar and getProjectPom to not match artifacts with the same prefix as the requested artifactId

BuildTest 1.0.1 (2014-08-11)

  • Fixed CompositeMatcher not reporting all error messages together

BuildTest 1.0.0 (2013-08-13)

Initial release, extracted from Jumi's build tests. Contains the following utilities:

  • AsmMatchers - Some Hamcrest matchers for classes
  • AsmUtils - Checking whether classes are annotated with specific annotations
  • ClassesInJarFile - Iterable over all classes in a JAR file
  • CompositeMatcher - Asserting over multiple items and reporting all failures
  • Deprecations - Reminder to remove deprecated classes/methods/fields after some time
  • JarUtils - Inspecting and asserting about the contents of a JAR file
  • MavenUtils - Reading the runtime dependencies from a Maven POM file
  • PartiallyParameterized - JUnit runner for classes with parameterized and non-parameterized tests
  • ProjectArtifacts - Finding project artifacts from a directory where presumably the build copied them
  • ResourcesUtil - Reading properties files from classpath
  • VersionNumbering - Checking the format of version numbers
  • XmlUtils - Parsing XML files

Versions

Version
1.0.2
1.0.1
1.0.0