Skip to content

cmu-pasta/fray-gradle-plugin

Repository files navigation

Fray Gradle Plugin

This plugin helps you to use Fray in your Gradle project.

plugins {
    id("cmu.pasta.fray.gradle") version "0.1"
}

Now you can write unit tests and run them with Fray.

@FrayTest
class MyTest {
    @Analyze 
    public void test() {
        // Your test code here
    }
}

To run all Fray tests, use the following command:

./gradlew frayTest

(Optional) Configuration

fray {
    // You may specifiy the version of fray you would like to use. 
    version = "0.1"
}

tasks.test {
  // You may also make the test task depend on the frayTest task
  // `./gradlew test` will run the fray tests 
  dependsOn("frayTest")
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages