 	return result
 }
 
-func makeAllTests(_ testfunctions: TestFunctions) -> String {
-	var result = "\nextension " + testfunctions.classname + " {\n"
+func makeAllTests(_ testclass: TestClass) -> String {
+	var result = "\nextension " + testclass.classname + " {\n"
 	result += indentation + "static var allTests = [\n"
-	result += testfunctions.funcs.map { testfunc in
+	result += testclass.funcs.map { testfunc in
 		indentation + indentation + "(\"\(testfunc)\", \(testfunc)),\n"
 		}.joined()
 	result += indentation + indentation + "]\n"


import SwiftShell
import Foundation

extension String {
	func subString(between: String, and: String) -> String? {

	}
}

typealias TestClass = (classname: String, funcs: [String])

func getTestClasses(_ input: ReadableStream) -> [TestClass] {
	var result = [TestClass]()
	for line in input.lines() {
		if line.contains("XCTestCase"),
			let classname = line.subString(between: "class", and: ":")?.trimmingCharacters(in: .whitespaces) {
