Hello phpMyFAQ developers.
I see that you use PHPUnit with phpMyFAQ. However, if you'd like browser-based functional/regression testing of phpMyFAQ, you may be interested in SeLite. It extends Selenium IDE and it uses a test DB (isolated from the DB of the tested application).
It could work well for you especially because phpMyFAQ can have its data in an SQLite DB. Since SeLite uses SQLite for test data, your test data lifecycle would be very easy. But you can benefit from SeLite even if your test instance of phpMyFAQ 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 kept in git. See https://code.google.com/p/selite/wiki/ProjectHome.
There are examples for Drupal, Serendipity and FUDforum at https://code.google.com/p/selite/wiki/S ... Frameworks. They log in as an admin and create a use with random details and password. The test fameworks also store those values in the test DB, so that they can re-test the login process anytime later. They post random content as those new users and they validate it.
I could create a test framework for phpMyFAQ and provide some basic examples of tests. Would there be any interest on your side?
Functional testing of phpMyFAQ
Moderator: Thorsten
-
- Posts: 5
- Joined: Wed May 28, 2014 3:48 am
- Location: Sydney, Australia
- Contact:
Re: Functional testing of phpMyFAQ
Hi Peter,
thanks for your post.
Thorsten's not available for a week, and I can't say much there.
I've had some mixed results with Selenium in the past, basically the more you change your frontend, the sooner you spend more time fixing your tests than developing.
But phpMyFAQ is relatively stable in that regard, so it might be great. We'll get back to you
thanks for your post.
Thorsten's not available for a week, and I can't say much there.
I've had some mixed results with Selenium in the past, basically the more you change your frontend, the sooner you spend more time fixing your tests than developing.
But phpMyFAQ is relatively stable in that regard, so it might be great. We'll get back to you
Re: Functional testing of phpMyFAQ
Hi Peter,
we're highly interested!
If these tests then would also run in Travis CI, it would be awesome!
bye
Thorsten
we're highly interested!
If these tests then would also run in Travis CI, it would be awesome!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 5
- Joined: Wed May 28, 2014 3:48 am
- Location: Sydney, Australia
- Contact:
Re: Functional testing of phpMyFAQ
Hi Thorsten,
SeLite works with Selenium IDE but not with Selenium webdriver. So it only works with Firefox and it can't be triggered from CI (unless someone implements that).
Does that put it still within your radar?
-Peter
SeLite works with Selenium IDE but not with Selenium webdriver. So it only works with Firefox and it can't be triggered from CI (unless someone implements that).
Does that put it still within your radar?
-Peter
Re: Functional testing of phpMyFAQ
Hi,
for sure! Automated functional testing can be a second step!
bye
Thorsten
for sure! Automated functional testing can be a second step!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 5
- Joined: Wed May 28, 2014 3:48 am
- Location: Sydney, Australia
- Contact:
Will do eventually: Functional testing of phpMyFAQ
Hi Thorsten and Florian,
This is high on my list, but it will have to wait for about a month.
-Peter
This is high on my list, but it will have to wait for about a month.
-Peter
Re: Functional testing of phpMyFAQ
Hi Peter,
kein Problem, vielen Dank schonmal soweit mit der Hilfe bei den SQLite3 fixes.
bye
Thorsten
kein Problem, vielen Dank schonmal soweit mit der Hilfe bei den SQLite3 fixes.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Functional testing of phpMyFAQ
Thanks for share...
The Testking C4090-959 study pack includes Loyola University Maryland and ICDL practice exam so you will pass real exam on first try.
The Testking C4090-959 study pack includes Loyola University Maryland and ICDL practice exam so you will pass real exam on first try.