You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by Jasha Joachimsthal <j....@onehippo.com> on 2012/05/04 13:55:28 UTC

Integration tests

Hi,

Marlon and I developed a basic set of integration tests for Apache Rave:
- create new user and log in
- log in with 3 default accounts (canonical, john.doe and openid)
- delete the new user
These tests assume you have a running portal. Currently I'm working with
colleagues to let the test project start up the portal, perform the tests
and then shut down the portal.

When this is done, we'd like to move this code base from Github [1] into
the Apache Rave svn code base (Marlon I assume you don't mind transferring
your code). You should then be able to build the project and automatically
run the integration tests using a separate Maven profile (probably mvn -P
integration-tests).

[1] https://github.com/jashaj/PortalTests

Jasha Joachimsthal

Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466
US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)

www.onehippo.com

Re: Integration tests

Posted by Jasha Joachimsthal <j....@onehippo.com>.
On 4 May 2012 13:55, Jasha Joachimsthal <j....@onehippo.com> wrote:

> Hi,
>
> Marlon and I developed a basic set of integration tests for Apache Rave:
> - create new user and log in
> - log in with 3 default accounts (canonical, john.doe and openid)
> - delete the new user
> These tests assume you have a running portal. Currently I'm working with
> colleagues to let the test project start up the portal, perform the tests
> and then shut down the portal.
>
> When this is done, we'd like to move this code base from Github [1] into
> the Apache Rave svn code base (Marlon I assume you don't mind transferring
> your code). You should then be able to build the project and automatically
> run the integration tests using a separate Maven profile (probably mvn -P
> integration-tests).
>
> [1] https://github.com/jashaj/PortalTests
>

I migrated PortalTests project into the Apache Rave project in the module
rave-integration-tests. Documentation is at [2]

In the current setup the rave-integration-tests module is neither a part of
the regular build nor an artifact that is produced in the release of the
project. See the documentation [2] how to run the integration tests. It is
ignored during regular builds because I have not added
rave-integration-tests as module in the default Maven profile, only in the
integration-tests profile.

When doing the release in the current setup, the rave-integration-tests
module should be updated manually.
We can make it a part of the release, but then some additional work
regarding L&N must be done (we have more than 3 weeks left for that).
Also we should then decide whether running the actual tests is a part of
the release goal or just producing the artifacts in rave-integration-tests.

[2] http://rave.apache.org/integration-tests.html

Jasha

Re: Integration tests

Posted by Sean Cooper <se...@apache.org>.
+1

(originally sent from wrong account)

-Sean

On Fri, May 4, 2012 at 10:41 AM, Mohammad Nour El-Din
<no...@gmail.com> wrote:
> +1 (non-binding)
>
> I am not a committer yet :D
>
> On Fri, May 4, 2012 at 3:03 PM, Franklin, Matthew B. <mf...@mitre.org>wrote:
>
>> +1
>>
>> >-----Original Message-----
>> >From: Marlon Pierce [mailto:marpierc@iu.edu]
>> >Sent: Friday, May 04, 2012 8:17 AM
>> >To: dev@rave.apache.org
>> >Subject: Re: Integration tests
>> >
>> >-----BEGIN PGP SIGNED MESSAGE-----
>> >Hash: SHA1
>> >
>> >+1
>> >
>> >On 5/4/12 7:55 AM, Jasha Joachimsthal wrote:
>> >> Hi,
>> >>
>> >> Marlon and I developed a basic set of integration tests for Apache Rave:
>> >> - create new user and log in
>> >> - log in with 3 default accounts (canonical, john.doe and openid)
>> >> - delete the new user
>> >> These tests assume you have a running portal. Currently I'm working with
>> >> colleagues to let the test project start up the portal, perform the
>> tests
>> >> and then shut down the portal.
>> >>
>> >> When this is done, we'd like to move this code base from Github [1] into
>> >> the Apache Rave svn code base (Marlon I assume you don't mind
>> >transferring
>> >> your code). You should then be able to build the project and
>> automatically
>> >> run the integration tests using a separate Maven profile (probably mvn
>> -P
>> >> integration-tests).
>> >>
>> >> [1] https://github.com/jashaj/PortalTests
>> >>
>> >> Jasha Joachimsthal
>> >>
>> >> Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522
>> >4466
>> >> US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll
>> free)
>> >>
>> >> www.onehippo.com
>> >>
>> >-----BEGIN PGP SIGNATURE-----
>> >Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
>> >Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>> >
>> >iQEcBAEBAgAGBQJPo8i+AAoJEEfVXEODPFIDcBMH/RyeUnLoIJljD9mrZHC4SXH
>> >M
>> >SZzCSznp3Y7Y3EPXXX7lxBsYg5ivWSCxFN5+W8DyEl1BGi4A+1eGGAJIMG/JuDn
>> >E
>> >l8tS3jTjjzxcO24F8Xpp4UbxfHQKKsbNQ5tZXuDsBrb58Elz34U4kkHuYW5omM+S
>> >N7B3jIKhVcMxEwDU0Kw3RxR+GIu+rH+2bpSuFO13351qx3W4hiVjoF07UJ9/Ej
>> >AM
>> >aGpjv1WurtYv74sIkJE+9OgBXHHDgsV2N5JqcUUxJdIgzc8SnhNx517qSVkvs1Xx
>> >qKGixb7XiwYjXU7f9D+Mto3hQ0y6q/1rnICkOvnyCzp6OOzz1Lf+KY49awuVaSo=
>> >=WXD0
>> >-----END PGP SIGNATURE-----
>>
>
>
>
> --
> Thanks
> - Mohammad Nour
> ----
> "Life is like riding a bicycle. To keep your balance you must keep moving"
> - Albert Einstein

Re: Integration tests

Posted by Sean Cooper <se...@gmail.com>.
+1

On Fri, May 4, 2012 at 10:41 AM, Mohammad Nour El-Din
<no...@gmail.com> wrote:
> +1 (non-binding)
>
> I am not a committer yet :D
>
> On Fri, May 4, 2012 at 3:03 PM, Franklin, Matthew B. <mf...@mitre.org>wrote:
>
>> +1
>>
>> >-----Original Message-----
>> >From: Marlon Pierce [mailto:marpierc@iu.edu]
>> >Sent: Friday, May 04, 2012 8:17 AM
>> >To: dev@rave.apache.org
>> >Subject: Re: Integration tests
>> >
>> >-----BEGIN PGP SIGNED MESSAGE-----
>> >Hash: SHA1
>> >
>> >+1
>> >
>> >On 5/4/12 7:55 AM, Jasha Joachimsthal wrote:
>> >> Hi,
>> >>
>> >> Marlon and I developed a basic set of integration tests for Apache Rave:
>> >> - create new user and log in
>> >> - log in with 3 default accounts (canonical, john.doe and openid)
>> >> - delete the new user
>> >> These tests assume you have a running portal. Currently I'm working with
>> >> colleagues to let the test project start up the portal, perform the
>> tests
>> >> and then shut down the portal.
>> >>
>> >> When this is done, we'd like to move this code base from Github [1] into
>> >> the Apache Rave svn code base (Marlon I assume you don't mind
>> >transferring
>> >> your code). You should then be able to build the project and
>> automatically
>> >> run the integration tests using a separate Maven profile (probably mvn
>> -P
>> >> integration-tests).
>> >>
>> >> [1] https://github.com/jashaj/PortalTests
>> >>
>> >> Jasha Joachimsthal
>> >>
>> >> Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522
>> >4466
>> >> US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll
>> free)
>> >>
>> >> www.onehippo.com
>> >>
>> >-----BEGIN PGP SIGNATURE-----
>> >Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
>> >Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>> >
>> >iQEcBAEBAgAGBQJPo8i+AAoJEEfVXEODPFIDcBMH/RyeUnLoIJljD9mrZHC4SXH
>> >M
>> >SZzCSznp3Y7Y3EPXXX7lxBsYg5ivWSCxFN5+W8DyEl1BGi4A+1eGGAJIMG/JuDn
>> >E
>> >l8tS3jTjjzxcO24F8Xpp4UbxfHQKKsbNQ5tZXuDsBrb58Elz34U4kkHuYW5omM+S
>> >N7B3jIKhVcMxEwDU0Kw3RxR+GIu+rH+2bpSuFO13351qx3W4hiVjoF07UJ9/Ej
>> >AM
>> >aGpjv1WurtYv74sIkJE+9OgBXHHDgsV2N5JqcUUxJdIgzc8SnhNx517qSVkvs1Xx
>> >qKGixb7XiwYjXU7f9D+Mto3hQ0y6q/1rnICkOvnyCzp6OOzz1Lf+KY49awuVaSo=
>> >=WXD0
>> >-----END PGP SIGNATURE-----
>>
>
>
>
> --
> Thanks
> - Mohammad Nour
> ----
> "Life is like riding a bicycle. To keep your balance you must keep moving"
> - Albert Einstein

Re: Integration tests

Posted by Mohammad Nour El-Din <no...@gmail.com>.
+1 (non-binding)

I am not a committer yet :D

On Fri, May 4, 2012 at 3:03 PM, Franklin, Matthew B. <mf...@mitre.org>wrote:

> +1
>
> >-----Original Message-----
> >From: Marlon Pierce [mailto:marpierc@iu.edu]
> >Sent: Friday, May 04, 2012 8:17 AM
> >To: dev@rave.apache.org
> >Subject: Re: Integration tests
> >
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >+1
> >
> >On 5/4/12 7:55 AM, Jasha Joachimsthal wrote:
> >> Hi,
> >>
> >> Marlon and I developed a basic set of integration tests for Apache Rave:
> >> - create new user and log in
> >> - log in with 3 default accounts (canonical, john.doe and openid)
> >> - delete the new user
> >> These tests assume you have a running portal. Currently I'm working with
> >> colleagues to let the test project start up the portal, perform the
> tests
> >> and then shut down the portal.
> >>
> >> When this is done, we'd like to move this code base from Github [1] into
> >> the Apache Rave svn code base (Marlon I assume you don't mind
> >transferring
> >> your code). You should then be able to build the project and
> automatically
> >> run the integration tests using a separate Maven profile (probably mvn
> -P
> >> integration-tests).
> >>
> >> [1] https://github.com/jashaj/PortalTests
> >>
> >> Jasha Joachimsthal
> >>
> >> Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522
> >4466
> >> US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll
> free)
> >>
> >> www.onehippo.com
> >>
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
> >Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> >
> >iQEcBAEBAgAGBQJPo8i+AAoJEEfVXEODPFIDcBMH/RyeUnLoIJljD9mrZHC4SXH
> >M
> >SZzCSznp3Y7Y3EPXXX7lxBsYg5ivWSCxFN5+W8DyEl1BGi4A+1eGGAJIMG/JuDn
> >E
> >l8tS3jTjjzxcO24F8Xpp4UbxfHQKKsbNQ5tZXuDsBrb58Elz34U4kkHuYW5omM+S
> >N7B3jIKhVcMxEwDU0Kw3RxR+GIu+rH+2bpSuFO13351qx3W4hiVjoF07UJ9/Ej
> >AM
> >aGpjv1WurtYv74sIkJE+9OgBXHHDgsV2N5JqcUUxJdIgzc8SnhNx517qSVkvs1Xx
> >qKGixb7XiwYjXU7f9D+Mto3hQ0y6q/1rnICkOvnyCzp6OOzz1Lf+KY49awuVaSo=
> >=WXD0
> >-----END PGP SIGNATURE-----
>



-- 
Thanks
- Mohammad Nour
----
"Life is like riding a bicycle. To keep your balance you must keep moving"
- Albert Einstein

RE: Integration tests

Posted by "Franklin, Matthew B." <mf...@mitre.org>.
+1

>-----Original Message-----
>From: Marlon Pierce [mailto:marpierc@iu.edu]
>Sent: Friday, May 04, 2012 8:17 AM
>To: dev@rave.apache.org
>Subject: Re: Integration tests
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>+1
>
>On 5/4/12 7:55 AM, Jasha Joachimsthal wrote:
>> Hi,
>>
>> Marlon and I developed a basic set of integration tests for Apache Rave:
>> - create new user and log in
>> - log in with 3 default accounts (canonical, john.doe and openid)
>> - delete the new user
>> These tests assume you have a running portal. Currently I'm working with
>> colleagues to let the test project start up the portal, perform the tests
>> and then shut down the portal.
>>
>> When this is done, we'd like to move this code base from Github [1] into
>> the Apache Rave svn code base (Marlon I assume you don't mind
>transferring
>> your code). You should then be able to build the project and automatically
>> run the integration tests using a separate Maven profile (probably mvn -P
>> integration-tests).
>>
>> [1] https://github.com/jashaj/PortalTests
>>
>> Jasha Joachimsthal
>>
>> Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522
>4466
>> US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)
>>
>> www.onehippo.com
>>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
>iQEcBAEBAgAGBQJPo8i+AAoJEEfVXEODPFIDcBMH/RyeUnLoIJljD9mrZHC4SXH
>M
>SZzCSznp3Y7Y3EPXXX7lxBsYg5ivWSCxFN5+W8DyEl1BGi4A+1eGGAJIMG/JuDn
>E
>l8tS3jTjjzxcO24F8Xpp4UbxfHQKKsbNQ5tZXuDsBrb58Elz34U4kkHuYW5omM+S
>N7B3jIKhVcMxEwDU0Kw3RxR+GIu+rH+2bpSuFO13351qx3W4hiVjoF07UJ9/Ej
>AM
>aGpjv1WurtYv74sIkJE+9OgBXHHDgsV2N5JqcUUxJdIgzc8SnhNx517qSVkvs1Xx
>qKGixb7XiwYjXU7f9D+Mto3hQ0y6q/1rnICkOvnyCzp6OOzz1Lf+KY49awuVaSo=
>=WXD0
>-----END PGP SIGNATURE-----

Re: Integration tests

Posted by Marlon Pierce <ma...@iu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

+1

On 5/4/12 7:55 AM, Jasha Joachimsthal wrote:
> Hi,
> 
> Marlon and I developed a basic set of integration tests for Apache Rave:
> - create new user and log in
> - log in with 3 default accounts (canonical, john.doe and openid)
> - delete the new user
> These tests assume you have a running portal. Currently I'm working with
> colleagues to let the test project start up the portal, perform the tests
> and then shut down the portal.
> 
> When this is done, we'd like to move this code base from Github [1] into
> the Apache Rave svn code base (Marlon I assume you don't mind transferring
> your code). You should then be able to build the project and automatically
> run the integration tests using a separate Maven profile (probably mvn -P
> integration-tests).
> 
> [1] https://github.com/jashaj/PortalTests
> 
> Jasha Joachimsthal
> 
> Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466
> US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)
> 
> www.onehippo.com
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPo8i+AAoJEEfVXEODPFIDcBMH/RyeUnLoIJljD9mrZHC4SXHM
SZzCSznp3Y7Y3EPXXX7lxBsYg5ivWSCxFN5+W8DyEl1BGi4A+1eGGAJIMG/JuDnE
l8tS3jTjjzxcO24F8Xpp4UbxfHQKKsbNQ5tZXuDsBrb58Elz34U4kkHuYW5omM+S
N7B3jIKhVcMxEwDU0Kw3RxR+GIu+rH+2bpSuFO13351qx3W4hiVjoF07UJ9/EjAM
aGpjv1WurtYv74sIkJE+9OgBXHHDgsV2N5JqcUUxJdIgzc8SnhNx517qSVkvs1Xx
qKGixb7XiwYjXU7f9D+Mto3hQ0y6q/1rnICkOvnyCzp6OOzz1Lf+KY49awuVaSo=
=WXD0
-----END PGP SIGNATURE-----