#!/bin/bash


##  Determine this script's location ("Tools" home dir).
scriptPath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
# For the case when called through a symlink
scriptPath=`readlink -f "$scriptPath"`
scriptDir=`dirname $scriptPath`

#############

EDITOR=${EDITOR:-less}

find $scriptDir/.. -name *TestCase.java -exec 'echo {} | sed "s/.java//" \;' >  /tmp/AS.ts.tests.txt
find $scriptDir/.. -name *TestCase.xml  -exec 'echo {} | sed "s/.xml//"  \;' >> /tmp/AS.ts.tests.txt

#sort /tmp/AS.ts.tests.txt > /tmp/AS.ts.tests.sort.txt

echo "Tests which were not run:"
uniq -u /tmp/AS.ts.tests.txt



