Ulrich Carmesin
2 years ago
14 changed files with 171 additions and 51 deletions
@ -0,0 +1,44 @@ |
|||
# |
|||
pattern: |
|||
# Keywords |
|||
log: log |
|||
parfile: PARAMETER_{job.par.application}_{job.par.environment}.yml |
|||
precond: vorher |
|||
postcond: nachher |
|||
diff: diff_fach |
|||
prediff: diff_init |
|||
rundiff: diff_ablauf |
|||
result: Ergebnisse/{comp.name} |
|||
origin: original |
|||
parts: teilergebnisse |
|||
sumfile: xxx |
|||
backup: backup |
|||
reffile: Herkunft.txt |
|||
tc: testfall |
|||
ts: testlauf |
|||
debugname: debug |
|||
logname: log |
|||
debugs: "{job.conf.home}/test/log" |
|||
# environment |
|||
envbase: "{job.conf.environment}/{job.par.environment}" |
|||
envlog: "{envbase}/{log}" |
|||
envparfile: "{envbase}/{parfile}" |
|||
# testcase |
|||
tcbase: "{job.conf.archiv}/{job.par.testcase}/{job.par.tctime}" |
|||
tclog: "{tcbase}/{log}" |
|||
tcresult: "{tcbase}/{result}" |
|||
tcparfile: "{tcbase}/{parfile}" |
|||
tcdiff: "{tcresult}/{diff}" |
|||
tcprediff: "{tcresult}/{prediff}" |
|||
tcrundiff: "{tcresult}/{rundiff}" |
|||
tcprecond: "{tcresult}/{precond}" |
|||
tcpostcond: "{tcresult}/{postcond}" |
|||
# testset |
|||
tsbase: "{job.conf.archiv}/{ts}/{job.par.usecase}_{job.par.tstime}" |
|||
tslog: "{tsbase}/{log}" |
|||
tsparfile: "{tsbase}/{parfile}" |
|||
tssum: "{tsbase}/Ergebnis" |
|||
# expectation-result rs |
|||
xpbase: "{job.conf.expect}/{job.par.branch}" |
|||
xpresult: "{xpbase}/{result}" |
|||
xpbackup: "{xpbase}/{result}" |
@ -0,0 +1,31 @@ |
|||
#!/usr/bin/python |
|||
# -*- coding: utf-8 -*- |
|||
# --------------------------------------------------------------------------------------------------------- |
|||
# Author : Ulrich Carmesin |
|||
# Source : gitea.ucarmesin.de |
|||
# --------------------------------------------------------------------------------------------------------- |
|||
import basic.program |
|||
import basic.catalog |
|||
import utils.config_tool |
|||
import basic.constants as B |
|||
import utils.data_const as D |
|||
import utils.date_tool |
|||
|
|||
class FileFcts(): |
|||
""" |
|||
this is an abstract class |
|||
""" |
|||
def __init__(self): |
|||
pass |
|||
|
|||
|
|||
def parseText(self, text): |
|||
""" |
|||
this function parses the text and translates it to dict |
|||
:param text: |
|||
:return: |
|||
""" |
|||
|
|||
|
|||
def file2dict(self): |
|||
pass |
Loading…
Reference in new issue