Browse Source

Remove obsolete file, Empty values in dbtest assertions #4

master
Daniel Quathamer 5 months ago
parent
commit
bdae0e3b60
  1. 2
      rsync_to_superx.x
  2. 12
      src-modules/module/qa/datentabellen/qa_dbtest_ausfuehren.sql

2
rsync_to_superx.x

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
#!/bin/bash
#Synchronisierung webapp zum Zielpfad
ant -DMODULE_PATH=$MEINMODUL_PFAD -DBASE_DIR=. -DMODULE=meinmodul all
ant -DMODULE_PATH=$QA_PFAD -DBASE_DIR=. -DMODULE=qa all

12
src-modules/module/qa/datentabellen/qa_dbtest_ausfuehren.sql

@ -95,6 +95,13 @@ select @@ -95,6 +95,13 @@ select
${dbtest_assertion.tid},
A.beginn,
now(),
<#if dbtest_assertion.def_col_value="">
--Test wenn Zielspalte leer sein soll:
case when T.${dbtest_assertion.def_col_name} is null or '' || T.${dbtest_assertion.def_col_name}=''
then 0
else 1 end
<#else>
case when T.${dbtest_assertion.def_col_name}=
<#if dbtest_assertion.def_col_function !="">
${dbtest_assertion.def_col_function}('${dbtest_assertion.def_col_value}')
@ -102,7 +109,10 @@ ${dbtest_assertion.def_col_function}('${dbtest_assertion.def_col_value}') @@ -102,7 +109,10 @@ ${dbtest_assertion.def_col_function}('${dbtest_assertion.def_col_value}')
'${dbtest_assertion.def_col_value}'
</#if>
then 0
else 1 end as result_code,
else 1 end
</#if>
as result_code,
T.${dbtest_assertion.def_col_name} as result_value
from tmp_anfang A left outer join tmp_rs T
on (A.dbtest_id=${dbtest_assertion.dbtest_id}

Loading…
Cancel
Save