{
  "script": [
    "for directory in /projects/* ; do",
    "  if [ -d \"$directory/.cloud9/runners\" ]; then",
    "    REPOSITORY_DIR=$directory",
    "  fi",
    "done",
    "cd $REPOSITORY_DIR",
    "for directory in \"$REPOSITORY_DIR\"/* ; do",
    "  if [ -d \"$directory/HelloWorldFunction\" ]; then",
    "    TESTS_DIR=$directory",
    "  fi",
    "done",
    "cd $TESTS_DIR/HelloWorldFunction",
    "pwd",
    "gradle test"
  ],
  "info": "This runner executes the unit tests inside HelloWorldFunction directory."
}