Unlogged SDK for recording JAVA code execution
Record. Replay. Test.
Documentation · Bug Bounty · Maven · IntelliJ Plugin
Unlogged Java SDK enabled recording of code execution in a binary format.
Replay these records using the Unlogged IntelliJ Plugin and generate junit test cases.
The recording is highly detailed and can be used to reconstruct the code execution from scratch. The binary format descriptions are available in Kaitai format here
Direct Invoke
️ Replay
Mocking
Assertions
JUnit Test case
video.bug
unlogged-java-sdk
0.2.16
dependencies
{
implementation 'video.bug:unlogged-sdk:0.2.16'
annotationProcessor 'video.bug:unlogged-sdk:0.2.16'
}@Unlogged annotation to your application entry pointpublic class Main {
@Unlogged
public static void main(String[] args) {
//
}
}It is highly recommended that you disable the unlogged-sdk when deploying for usage. unlogged-sdk is only targetted for local usage only.
Adding the unlogged-sdk adds probes to your code which emits events in a binary format. Adding the @Unlogged
enabled to actual execution of those probes.
mvn package -Dunlogged.disableor
./gradlew build -Dunlogged.disable@Unlogged(enable = false)You can find the latest release version here: https://mvnrepository.com/artifact/video.bug/unlogged-sdk
We welcome all contributions! There's many ways to contribute to the project, including but not limited to:
No open issues yet, or sync has not completed.