Skip to main content

crashtest.hxcorpus.cases

Find the unit-test classes of a Haxe checkout and turn each into a Job.

class Case​

name: str​

fqn: str​

path: Path​

root: Path​

init​

def __init__(name: str, fqn: str, path: Path, root: Path) -> None

discover​

def discover(haxe: Path = DEFAULT_HAXE, substring: Optional[str] = None) -> List[Case]

Every test class of the checkout, issues last (there are over a thousand).

job_for​

def job_for(case: Case) -> Job

DEFAULT_HAXE​

DEFAULT_HAXE = Path.home() / 'code' / 'haxe'

SHIM​

SHIM = Path(__file__).resolve().parent / 'shim'