move to using a non-suite-xml as it's the only way to run the exclusion without making multiple copies

git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909372 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2010-02-12 11:57:15 +00:00
parent 21a6867fd6
commit b8cee9b0ef
2 changed files with 3 additions and 55 deletions

View File

@ -150,12 +150,11 @@
<configuration>
<properties>
<!--
Use this instead of suiteXmlFiles so that we can add the exclusion, as it is only accepted if you use
the 'all command line parameters' mode.
Use this instead of suiteXmlFiles so that we can add the exclusion, as it is only accepted without suiteXmlFiles
-->
<property>
<name>suitename</name>
<value>${basedir}/src/test/testng/config/testng.xml</value>
<name>listener</name>
<value>org.apache.archiva.web.test.listener.CaptureScreenShotsListener</value>
</property>
<property>
<name>excludegroups</name>

View File

@ -1,51 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<suite name="ArchivaTest" verbose="1">
<listeners>
<listener class-name="org.apache.archiva.web.test.listener.CaptureScreenShotsListener"/>
</listeners>
<test name="AdminTest" enabled="true">
<groups>
<run>
<include name="about" />
<include name= "login" />
<include name= "userroles" />
<include name= "reposcan" />
<include name= "artifactmanagement" />
<include name= "search" />
<include name= "auditlogsreport" />
<include name= "browse" />
<include name= "reports" />
<include name= "virtualrepository" />
<include name= "networkproxies" />
<include name= "repository" />
<include name= "appearance" />
<include name= "findartifact" />
<include name= "legacysupport" />
</run>
</groups>
<packages>
<package name="org.apache.archiva.web.test" />
</packages>
</test>
</suite>