From dev-return-8271-apmail-continuum-dev-archive=continuum.apache.org@continuum.apache.org Tue Jun 30 02:02:25 2009 Return-Path: Delivered-To: apmail-continuum-dev-archive@www.apache.org Received: (qmail 40325 invoked from network); 30 Jun 2009 02:02:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jun 2009 02:02:25 -0000 Received: (qmail 35943 invoked by uid 500); 30 Jun 2009 02:02:35 -0000 Delivered-To: apmail-continuum-dev-archive@continuum.apache.org Received: (qmail 35849 invoked by uid 500); 30 Jun 2009 02:02:35 -0000 Mailing-List: contact dev-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list dev@continuum.apache.org Received: (qmail 35839 invoked by uid 99); 30 Jun 2009 02:02:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 02:02:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jmorales@gmv.com designates 212.0.110.25 as permitted sender) Received: from [212.0.110.25] (HELO mx1.gmv.es) (212.0.110.25) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 02:02:25 +0000 Received: HReceived: from scanmail.gmv.es (caronte [212.0.110.2]) by mx1.gmv.es with id n5U21xHd024663 for ; Tue, 30 Jun 2009 04:01:59 +0200 From: =?iso-8859-1?Q?Jos=E9_Morales_Mart=EDnez?= To: "dev@continuum.apache.org" Date: Tue, 30 Jun 2009 04:01:58 +0200 Subject: RE: questions about Selenium tests Thread-Topic: questions about Selenium tests Thread-Index: Acn5GlwybXsyJ2BzSgK8wtGs5G2fKAACSZgr Message-ID: References: <34F8F01A-A148-4141-BA84-D49F0C791E84@apache.org> In-Reply-To: <34F8F01A-A148-4141-BA84-D49F0C791E84@apache.org> Accept-Language: es-ES Content-Language: es-ES X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: es-ES Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Disposition: inline X-Scanned-By: MIMEDefang 2.64 on 212.0.110.25 X-Virus-Checked: Checked by ClamAV on apache.org I response between lines. >> Hi, >>=20 >> I was taking a look around at the source code and http://cwiki.apache.or= g/confluence/display/CONTINUUM/Selenium+Tests >> to try and figure out how I would add a test in future and had a few >> questions. >>=20 >> Can we filter in the server ports in testng.properties so that they >> can all be changed from one place? This would also mean that running >> against your own instance would be -Dexisting-container - >> Dcontainer.port=3D12345 instead of modifying the properties. Yes, we can filter this property and set a maven property. It is a good ide= a.=20 >> In the doc, it refers to two build runs, but wouldn't it be better to >> illustrate the "mvn clean install -Pintegration" method of a single run? >> >> Which sources are current? I see src/test/it, src/test/java and src/ >> test/testng. Preferably, they would all be under src/test/java to >> minimise configuration if only one tree is needed. 'testng' package was initially intended to test with TestNG and 'it' packag= e was intended to test with JUnit. TestNG has been updated, but T think JUnit has not been maintained. >> What is the role of the selenium-ide files? Do they need to be >> maintained concurrently? >>=20 >> It appears that the testng groups map one-to-one with the class name. >> Is that correct? If so, are they needed since the include/exclude >> could be done on class name instead? (the groups would be better >> served to broader categories - eg, all maven1 functionality when the >> tests span multiple classes). Currently, we get one-to-one (usual practice), but isn't mandatory.=20 We can use class instead test name. I usually have used test name and there= fore I put this. >> What is the reason for listing all the groups directly? It seems easy >> to forget. It would be better to just selectively exclude (and in the >> docs at the moment, adding "excludes" is redundant if they aren't run >> automatically?) >>=20 >> Is there anywhere other than the code/scripts that we have written >> down the tests that are being used? >>=20 >> In the doc, the last section on creating/submitting patches could >> probably be on the site more generally, not just for the tests. >>=20 >> Are there any tips for creating tests - such as setting up pre- >> condition state (users, login, projects, etc), and ordering within in >> the classes? >>=20 >> Thanks for the work on these! ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la=20 Informacion siendo para uso exclusivo del destinatario, quedando=20 prohibida su divulgacion copia o distribucion a terceros sin la=20 autorizacion expresa del remitente. Si Vd. ha recibido este mensaje=20 erroneamente, se ruega lo notifique al remitente y proceda a su borrado.= =20 Gracias por su colaboracion. ______________________ This message including any attachments may contain confidential=20 information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________