コード例 #1
0
ファイル: views.py プロジェクト: andrew-malkov/Riurik
def compileSuiteCoffee(path, suite_path):
	contrib.cleandir(suite_path, '.*.js')
	tests = contrib.enum_files_in_folders(
			suite_path,
			lambda file_: not file_.endswith(settings.COFFEE_FILE_EXT)
	)
	for test in tests:
		fullpath = os.path.join(suite_path, test)
		path = coffeescript.compile2js(None, None, fullpath)
		log.info(path)
コード例 #2
0
ファイル: reporting.py プロジェクト: andrew-malkov/Riurik
def start(data):
	start = TestInfo(data)
	
	cwd = getTestResultDir(start.path, start.context)
	contrib.cleandir(cwd, '*.begin')
	contrib.cleandir(cwd, '*.progress')
	contrib.cleandir(cwd, '*.done')
	
	fileName = getBeginFile(start.path, start.context, start.date)
	dump(fileName, [])