Tuesday, April 19, 2005

FAST

That stands for Framework to Automate SNKutty's Tests. I just finished its BASH shell script implementation and will soon be putting up the code. I found a good page here on how to configure SSH.. which I needed to do to capture server log files. I'll be posting links to more resources soon..

Update:
FAST documentation
FAST code (tar xvf fast.doc)

To convert Excel-copy-textfile-pasted stuff to configuration file format, run this script on it:

#!/bin/bash
while read line
do
if [[ $line == TC_UC* ]]
then
num=1
ucid=$line
ufil="${ucid}_Test.cfg"
elif [[ x$line != x ]]
then
if [ ! -e $ufil ]
then
echo "Default_Verify_String=" >> $ufil
echo "[Default_Cleanup]" >> $ufil
echo "[@Default_Cleanup]" >> $ufil
fi # End of if file doesn't exist
echo "TCID@${ucid}_${num}" >> $ufil
echo "[Test_Body]" >> $ufil
echo "$line" >> $ufil
echo "VERIFY@" >> $ufil
echo "[@Test_Body]" >> $ufil
echo " " >> $ufil
let "num+=1"
fi # End of line identify process
done<$1