public static void main(String[] args) {
		try {
			if ("createTestSuites".equals(args[0])) {
				File baseDir = new File(args[1]);
				if (!baseDir.exists() || !baseDir.isDirectory()) {
					System.err.println("TestUtilities: invalid directory (" + args[1] + ")");
					throw new RuntimeException();
				}
				String className = args[2];
				if (className.length() == 0 || !className.matches("[A-Z][a-zA-Z0-9]*?")) {
					System.err.println("TestUtilities: invalid class name (" + args[2] + ")");
					throw new RuntimeException();
				}
				String pkg = args[3];
				if (pkg.length() == 0 || !pkg.matches("[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*")) {
					System.err.println("TestUtilities: invalid package name (" + args[3] + ")");
					throw new RuntimeException();
				}
				System.out.println("Searching for TestCases and creating TestSuites...");
				System.out.println("  package: " + pkg);
				System.out.println("  destination: " + baseDir);
				int cnt = createTestSuites(baseDir, className, pkg, true);
				System.out.println(cnt + " TestSuite(s) Created.");
			}
			System.exit(0);
		} catch (Throwable t) {
			System.err.println("TestUtilities: invalid usage");
		}
		System.exit(-1);
	}
Command-line utilities.
<p>
Parameter usage:
<pre>{@literal
   createAllTests <baseDirPath> <className> <topPackage>
}</pre>   
@param args
Ghidra/Framework/Generic/src/main/java/ghidra/util/TestSuiteUtilities.java