[Phpmyadmin-devel] Help: Selenium test code coverage

Smita kumarismita62 at gmail.com
Fri Jul 4 07:59:20 CEST 2014


Hi,

I wrote the selenium test for code written to automate normalization to
1NF. Here is the pull request[0]. I was expecting the code coverage
reported by coverall will increase at least 1 to 2% but it didn't. Means
selenium test doesn't increase coverage ? May be because it seems to cover
only the behaviour of the system.
If it is the case then how to cover the code segments which interact with
database ?
Is there a way to write test cases for codes interacting with databases
using normal phpUnit framework ?

[0] https://github.com/phpmyadmin/phpmyadmin/pull/1271

Thanks and Regards
- Smita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140704/e35bdb3f/attachment.html>


More information about the Developers mailing list