gcpsuite:JUnit Guava ClassPath 套件

时间:2024-06-18 17:06:32
【文件属性】:

文件名称:gcpsuite:JUnit Guava ClassPath 套件

文件大小:8KB

文件格式:ZIP

更新时间:2024-06-18 17:06:32

java guava junit junit-guava Java

gcpsuite JUnit Guava ClassPath 套件 这是一个测试套件,它运行在类路径上找到的所有 JUnit 测试。 测试可能会被过滤器过滤 - Guava Predicates。 类路径由 Guava com.google.common.reflect.ClassPath扫描。 Guava ClassPath扫描有一个已知的限制,即它不扫描 JAR 中的类。 所有这些都在一个文件 - 只需复制并粘贴到您的项目中。 受 ClasspathSuite [ ] 的启发。 用法 使用@RunWith(GuavaClassPathSuite.class)注释。 可选 - 使用@ClassNamePredicate按类名过滤。 可选 - 使用@ClassPredicate按实例化类过滤。 请参阅示例 。 相关项目 原始 ClasspathSuite [ ] Taka


【文件预览】:
gcpsuite-master
----pom.xml(753B)
----src()
--------test()
--------main()
----.gitignore(8B)
----README.md(1KB)
----LICENSE.txt(352B)

网友评论