FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Automated browser-based functional/regression testing of FUDforum (Contribution proposal)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Automated browser-based functional/regression testing of FUDforum [message #184944] Tue, 18 February 2014 09:20 Go to next message
peter.kehl is currently offline  peter.kehl
Messages: 5
Registered: February 2014
Karma: 0
Junior Member
If you'd like automated browser-based functional/regression testing of FUDforum (the software), you may be interested in SeLite. It extends Selenium IDE. It allows your tests to access (read and write to) a test DB (isolated from the DB of the tested application). It's open source.

It could work very well for you, especially since FUDforum can have its data in an SQLite DB. Since SeLite uses a (separate) SQLite DB for test data, your test data lifecycle would be very easy. However, you can benefit from SeLite even if your test instance of FUDforum uses other type of DB.

Creating tests in Selenium IDE is convenient and highly productive. It doesn't require low-level programming skills, so even users/designers could contribute new tests. Tests can be maintained in SVN. See selite.googlecode.com.

I could create a test framework and provide some examples. Would there be any interest on side of FUDforum developers?
Re: Automated browser-based functional/regression testing of FUDforum [message #184945 is a reply to message #184944] Tue, 18 February 2014 10:05 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
I think we should definately explore it.
Will appreciate if you can setup a test framework with some examples.
Re: Automated browser-based functional/regression testing of FUDforum [message #185402 is a reply to message #184945] Wed, 26 March 2014 02:41 Go to previous message
peter.kehl is currently offline  peter.kehl
Messages: 5
Registered: February 2014
Karma: 0
Junior Member
The initial FUDforum test framework is at https://code.google.com/p/selite/wiki/FUDforumFramework. It comes with a simple test demo, which creates a random user and then logs as her/him. It also logs in and out as an admin (or any role that you define for the purpose of testing). Use it (at least for now) with SQLite-based installation of FUDforum.

If you haven't used Selenium IDE before, look at http://docs.seleniumhq.org/docs/02_selenium_ide.jsp.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Documentation structure and 'show'/'hide'
Next Topic: rating system
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Dec 21 15:36:01 GMT 2024

Total time taken to generate the page: 0.05468 seconds