public static String convertToRelative(final Class clazz, final File f) {
        final File root = getRootOfBuildDirectory(clazz).getParentFile();
        return root.toURI().relativize(f.toURI()).toString();
    }
Utility methods for test development.

@author Stephen Mallette (http://stephen.genoprime.com)

NOTE: This class duplicates the TestHelper class from gremlin-core. One of them must be removed.
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/TestHelper.java