public static int createTestSuites(File baseDir, String className, String pkgName, boolean recurse) throws IOException {
    	
    	int cnt = 0;
    	
    	// Create TestSuite for specified package
    	if (hasTests(pkgName, false)) {
    		createTestSuites(baseDir, className, pkgName);
    		++cnt;
    	}
    	
    	// Recursively create TestSuites for all sub-packages which contain TestCases
		if (recurse) {
			Iterator<String> iter = getSubPkgNames(pkgName);
			while (iter.hasNext()) {
				cnt += createTestSuites(baseDir, className, iter.next(), true);
			}
		}
		return cnt;
    }
Create the Java source file a JUnit TestSuite which 
includes all TestCases within a package directory.
@param baseDir
@param className
@param pkgName
@param recurse
Ghidra/Framework/Generic/src/main/java/ghidra/util/TestSuiteUtilities.java