On Tuesday, 13 August 2013 at 9:23 PM, adam wrote:
Hi Aysush,On Tuesday, 13 August 2013 at 2:24 PM, Michal Čihař wrote:HiDne Tue, 13 Aug 2013 14:07:52 +0530Ayush Chaudhary <ayushchd@gmail.com (mailto:ayushchd@gmail.com)> napsal(a):I don't see any explicit provision, however, we could perhaps connectmanually to database and execute corresponding SQL queries to configure thedatabase before our tests. Does that sound ok? If yes, we use mysqli?There is no option to use setUp method for that?These tests run just similar to other unit tests except that we can use Selenium web driver calls using phpunit. So yes, we can use setup method to connect to mysql and create tables, databases that we need for our tests.That will back to a problem I encountered when I made UT for DBI testing. For selenium case, we should setup database, using username, password to connect.but this can't be deploy easily to CI and other developers' dev box because *the username and password* is private data.please advise!
Adam------------------------------------------------------------------------------Get 100% visibility into Java/.NET code with AppDynamics Lite!It's a free troubleshooting tool designed for production.Get down to code-level detail for bottlenecks, with <2% overhead.Download for free and get started troubleshooting in minutes._______________________________________________Phpmyadmin-devel mailing list