Skip to content

Commit

Permalink
Add JUnit as a testing framework
Browse files Browse the repository at this point in the history
- Configure Gradle build to include JUnit dependencies
  • Loading branch information
scroix committed Apr 4, 2024
1 parent 36a59f3 commit 9328669
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions nodel-framework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,22 @@ jar {
}
}

test {
useJUnitPlatform()
testLogging {
events 'passed', 'skipped', 'failed'
}
}

dependencies {
implementation 'joda-time:joda-time:2.6'
implementation 'org.slf4j:slf4j-api:1.7.10'

// SSH features
implementation group: 'com.jcraft', name: 'jsch', version: '0.1.55'

// Test dependencies
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}

0 comments on commit 9328669

Please sign in to comment.