fitnesse - find disabled tests
Thursday, September 23, 2010
FitNesse suites can grow enormous, so managing them becomes tough. Here's a simple script to find all pages in a given suite that are not marked as either a Test or as a Suite:
#! /bin/bash
if [ $# -eq 0 ]; then
echo "Shows fitnesse tests that aren't enabled as either Test or Suite"
echo 'Usage: ./find_disabled_tests.sh {parent_dir}'
echo 'Eg: ./find_disabled_tests.sh /var/local/fitnesse/FitNesseRoot/SitTests/RichTests'
exit 0
fi
cd $1
find -name properties.xml -print | xargs egrep -L '(Test/|
0 comments:
Subscribe to:
Post Comments (Atom)