Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

xmedeko/gcpsuite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcpsuite

JUnit Guava ClassPath Suite

This is a test suite, which runs all JUnit test found on the class path. The test may be filtered by filters - Guava Predicates. The classpath is scanned by Guava com.google.common.reflect.ClassPath. The Guava ClassPath scanning has the known limitation, that it does not scan classes in JARs.

All is implemented in one file org.xmedeko.gcpsuite.GuavaClassPathSuite - just copy&paste to your project.

Inspired by ClasspathSuite [http://johanneslink.net/projects/cpsuite.jsp].

Usage

  1. Use @RunWith(GuavaClassPathSuite.class) annotation.
  2. Optional - use @ClassNamePredicate to filter by class name.
  3. Optional - use @ClassPredicate to filter by instantiated class.

See the example org.xmedeko.gcpsuite.TestSuiteUse.

Related Projects

About

JUnit Guava ClassPath Suite

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages