[jboss-jira] [JBoss JIRA] (AS7-4080) @Ignored tests (tracking)
Ondrej Zizka (JIRA)
jira-events at lists.jboss.org
Thu Mar 8 01:16:38 EST 2012
[ https://issues.jboss.org/browse/AS7-4080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ondrej Zizka updated AS7-4080:
------------------------------
Description:
Tracking of Jiras referred from @Ignore(...)'d tests.
See jiras with the as7-ignored label.
Generally, we should check those which are closed but still @Ignored.
With files:
{code}
git grep @Ignore | sed 's#\(.*: \).*@Ignore("[^A-Z0-9]*\([A-Z37]\+-[0-9]\+\)[^0-9]*")#\1 \2#g'
{code}
Without files, unique:
{code}
git grep @Ignore | sed 's#.*@Ignore("[^A-Z0-9]*\([A-Z37]\+-[0-9]\+\)[^0-9]*")#\1#g' | sort | uniq
{code}
For future reference:
{code}
for i in `git grep -l @Ignore | grep testsuite/ | sort | uniq`; do $IDE $i; done
## Remove @Ignore...
for i in `git grep -l @Ignore | grep testsuite/ | sort | uniq`; do
TEST_CLASS=`echo $i | sed 's#.*/\(.*\).java#\1#'`;
echo
echo " ========== Running $TEST_CLASS ...";
echo
./integration-tests.sh install -Dts.basic -Dtest=*$TEST_CLASS*
done
{code}
was:
Tracking of Jiras referred from @Ignore(...)'d tests.
See jiras with the as7-ignored label.
With files:
{code}
git grep @Ignore | sed 's#\(.*: \).*@Ignore("[^A-Z0-9]*\([A-Z37]\+-[0-9]\+\)[^0-9]*")#\1 \2#g'
{code}
Without files, unique:
{code}
git grep @Ignore | sed 's#.*@Ignore("[^A-Z0-9]*\([A-Z37]\+-[0-9]\+\)[^0-9]*")#\1#g' | sort | uniq
{code}
For future reference:
{code}
for i in `git grep -l @Ignore | grep testsuite/ | sort | uniq`; do $IDE $i; done
## Remove @Ignore...
for i in `git grep -l @Ignore | grep testsuite/ | sort | uniq`; do
TEST_CLASS=`echo $i | sed 's#.*/\(.*\).java#\1#'`;
echo
echo " ========== Running $TEST_CLASS ...";
echo
./integration-tests.sh install -Dts.basic -Dtest=*$TEST_CLASS*
done
{code}
> @Ignored tests (tracking)
> -------------------------
>
> Key: AS7-4080
> URL: https://issues.jboss.org/browse/AS7-4080
> Project: Application Server 7
> Issue Type: Tracker
> Components: Test Suite
> Affects Versions: 7.1.1.Final
> Reporter: Ondrej Zizka
> Assignee: Ondrej Zizka
> Labels: as7-ignored
> Fix For: 7.1.2.Final
>
> Attachments: reports.zip
>
>
> Tracking of Jiras referred from @Ignore(...)'d tests.
> See jiras with the as7-ignored label.
> Generally, we should check those which are closed but still @Ignored.
> With files:
> {code}
> git grep @Ignore | sed 's#\(.*: \).*@Ignore("[^A-Z0-9]*\([A-Z37]\+-[0-9]\+\)[^0-9]*")#\1 \2#g'
> {code}
> Without files, unique:
> {code}
> git grep @Ignore | sed 's#.*@Ignore("[^A-Z0-9]*\([A-Z37]\+-[0-9]\+\)[^0-9]*")#\1#g' | sort | uniq
> {code}
> For future reference:
> {code}
> for i in `git grep -l @Ignore | grep testsuite/ | sort | uniq`; do $IDE $i; done
> ## Remove @Ignore...
> for i in `git grep -l @Ignore | grep testsuite/ | sort | uniq`; do
> TEST_CLASS=`echo $i | sed 's#.*/\(.*\).java#\1#'`;
> echo
> echo " ========== Running $TEST_CLASS ...";
> echo
> ./integration-tests.sh install -Dts.basic -Dtest=*$TEST_CLASS*
> done
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list