[Geoserver-devel] runtime testing using Capybara

Hello,

I’m currently testing GeoServer 2.8 version with the integrated GeoFence.

To automate this testing, e.g. ensuring every pages of the GS UI is working correctly after setup, I developed a Capybara scenario, testing that no page titles are matching “Oops something went wrong” pattern, when browsing every UI pages.
Source code: [1]

This produces the following result for now (YouTube video[2]). Please note that this is an early preview of this work, but it can already give an idea of the testing potential of the tool.

I was wondering if the GeoServer community was interested in this, and if this work could be relevant for the project.

Best regards,

[1] https://github.com/pmauduit/georchestra_runtime_tests/blob/master/spec/features/geoserver_spec.rb
[2] https://www.youtube.com/watch?v=M5SQkFaYGIg

···

Pierre Mauduit

Ingénieur développement

Camptocamp France SAS

Savoie Technolac, BP 352

73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 58 48 20 24

Fax : +33 4 58 48 20 10

Mail : pierre.mauduit@anonymised.com

http://www.camptocamp.com

That may be amazing, we are thinking of doing a code-sprint to upgrade to a newer version of wicket, this kind of automated abuse may be able to quickly support the team doing the upgrade.

If others are interested perhaps you can join the next project Skype call?

Looking at your video a stack trace passed your “Oops something went wrong” test? I was also amused to see the product renamed as geOrchestra :slight_smile:

···

On 29 September 2015 at 02:27, Pierre Mauduit <pierre.mauduit@anonymised.com> wrote:

Hello,

I’m currently testing GeoServer 2.8 version with the integrated GeoFence.

To automate this testing, e.g. ensuring every pages of the GS UI is working correctly after setup, I developed a Capybara scenario, testing that no page titles are matching “Oops something went wrong” pattern, when browsing every UI pages.
Source code: [1]

This produces the following result for now (YouTube video[2]). Please note that this is an early preview of this work, but it can already give an idea of the testing potential of the tool.

I was wondering if the GeoServer community was interested in this, and if this work could be relevant for the project.

Best regards,

[1] https://github.com/pmauduit/georchestra_runtime_tests/blob/master/spec/features/geoserver_spec.rb
[2] https://www.youtube.com/watch?v=M5SQkFaYGIg

Pierre Mauduit

Ingénieur développement

Camptocamp France SAS

Savoie Technolac, BP 352

73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 58 48 20 24

Fax : +33 4 58 48 20 10

Mail : pierre.mauduit@anonymised.com

http://www.camptocamp.com



Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Jody Garnett