Skip to content

luontola/buildtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Utilites for asserting about build artifacts

Resources

License

Stars

Watchers

Forks

Packages

No packages published