Open-MBEE / Comodo

COMODO2 is a Java tool that allows to transform a UML/SysML model into code for different software platforms.
26 stars 5 forks source link

Add gradle testing #14

Closed thomas-bc closed 1 year ago

thomas-bc commented 1 year ago

Addresses https://github.com/Open-MBEE/Comodo/issues/10.

This adds Gradle tasks to perform testing automatically. We currently have 3 suites of testing, one for QPC-C and two for ELT-RAD. I have basically replicated what was done in the build.xml, but with Gradle. New target/test pairs can easily be added with the function defined in build.gradle.

Usage: ./gradlew testAll to test all targets, or ./gradlew testQPC-CTarget for a single target.