def METHOD_NAME(ctx, dry_run=False):
    """Cleanup (temporary) test artifacts."""
    directories = ctx.test.METHOD_NAME.directories or []
    files = ctx.test.METHOD_NAME.files or []
    cleanup_dirs(directories, dry_run=dry_run)
    cleanup_files(files, dry_run=dry_run)