def METHOD_NAME(self, test: str) -> Path:
    """Compute path to test source file
    Args:
        test (str): Name of test
    Returns:
        Path: Path to source file
    """
    prefix, rest = test.split('-', 1)
    if prefix == 'petsc':
        return (Path('examples') / 'petsc' / rest).with_suffix('.c')
    elif prefix == 'mfem':
        return (Path('examples') / 'mfem' / rest).with_suffix('.cpp')
    elif prefix == 'nek':
        return (Path('examples') / 'nek' / 'bps' / rest).with_suffix('.usr')
    elif prefix == 'fluids':
        return (Path('examples') / 'fluids' / rest).with_suffix('.c')
    elif prefix == 'solids':
        return (Path('examples') / 'solids' / rest).with_suffix('.c')
    elif test.startswith('ex'):
        return (Path('examples') / 'ceed' / test).with_suffix('.c')
    elif test.endswith('-f'):
        return (Path('tests') / test).with_suffix('.f90')
    else:
        return (Path('tests') / test).with_suffix('.c')