testControlByteCode

testControlByteCode is a Junit Tool intent to check if all dependencies at runtime are present and work well

License

License

GroupId

GroupId

com.efluid.oss
ArtifactId

ArtifactId

test-control-byte-code
Last Version

Last Version

1.7.0
Release Date

Release Date

Type

Type

jar
Description

Description

testControlByteCode
testControlByteCode is a Junit Tool intent to check if all dependencies at runtime are present and work well
Project URL

Project URL

https://github.com/efluid/testControlByteCode
Project Organization

Project Organization

efluidSAS
Source Code Management

Source Code Management

https://github.com/efluid/testControlByteCode

Download test-control-byte-code

How to add to project

<!-- https://jarcasting.com/artifacts/com.efluid.oss/test-control-byte-code/ -->
<dependency>
    <groupId>com.efluid.oss</groupId>
    <artifactId>test-control-byte-code</artifactId>
    <version>1.7.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.efluid.oss/test-control-byte-code/
implementation 'com.efluid.oss:test-control-byte-code:1.7.0'
// https://jarcasting.com/artifacts/com.efluid.oss/test-control-byte-code/
implementation ("com.efluid.oss:test-control-byte-code:1.7.0")
'com.efluid.oss:test-control-byte-code:jar:1.7.0'
<dependency org="com.efluid.oss" name="test-control-byte-code" rev="1.7.0">
  <artifact name="test-control-byte-code" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.efluid.oss', module='test-control-byte-code', version='1.7.0')
)
libraryDependencies += "com.efluid.oss" % "test-control-byte-code" % "1.7.0"
[com.efluid.oss/test-control-byte-code "1.7.0"]

Dependencies

compile (8)

Group / Artifact Type Version
junit : junit jar 4.12
org.slf4j : slf4j-api jar 1.7.25
org.yaml : snakeyaml jar 1.23
org.assertj : assertj-core jar 3.11.1
net.bytebuddy : byte-buddy jar 1.9.13
org.javassist : javassist jar 3.24.0-GA
org.slf4j : slf4j-simple Optional jar 1.7.25
commons-cli : commons-cli jar 1.2

test (1)

Group / Artifact Type Version
org.mockito : mockito-core jar 2.10.0

Project Modules

There are no modules declared in this project.

testControlByteCode

History and use case

Since 2011

Tool created after multiple runtime problem.

Use case :

  • Identify missing libraries on runtime
  • Identify duplicate files in the classpath
  • Check if all methods called in application are present in the dependencies with the right signatures
    • Example : public void method1(String arg1, String arg2) become public void method1(String... args)
  • Dependency analysis between libraries
  • Creates a graphviz file (.dot) to display dependencies via a graph
  • Determines or controls dependencies of a library

Running the tool

  • Add the maven/gradle dependencies in your project test scope
<dependency>
    <groupId>com.efluid.oss</groupId>
    <artifactId>test-control-byte-code</artifactId>
    <version>1.2.0</version>
    <scope>test</scope>
</dependency>

Versions

Version
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0
1.0.0-beta-9
1.0.0-beta-8
1.0.0-beta-7
1.0.0-beta-6
1.0.0-beta-5
1.0.0-beta-4
1.0.0-beta-3
1.0.0-beta-2
1.0.0-beta-1