<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
DIV.FoxDiv20130323175938429096 {
LINE-HEIGHT: 1.5; MARGIN: 10px; FONT-FAMILY: Segoe UI; COLOR: #000080; FONT-SIZE: 10.5pt
}
BODY {
LINE-HEIGHT: 1.5; FONT-FAMILY: Segoe UI; COLOR: #000080; FONT-SIZE: 10.5pt
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.7601.18094">
<STYLE>BLOCKQUOTE {
MARGIN-TOP: 0px
}
OL {
MARGIN-TOP: 0px
}
UL {
MARGIN-TOP: 0px
}
</STYLE>
</HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I have more thinkings on the <SPAN style="COLOR: #ff0000">Phpmyadmin
Automatic testing </SPAN>after reading more codes.</DIV>
<DIV>========================<SPAN style="COLOR: #ff0000">Code
Learning</SPAN>====================</DIV>
<DIV>Following is my code learning:</DIV>
<DIV>in the <SPAN style="FONT-WEIGHT: bold"><SPAN
style="COLOR: #ff0000">index.php</SPAN> </SPAN>page, PMA will display all the
links for users. the links can be some types: </DIV>
<DIV>1. for <SPAN style="COLOR: #ff0000">server </SPAN>operation: <SPAN
style="FONT-WEIGHT: bold">server</SPAN><SPAN
style="COLOR: #ff0000">_<operation>.</SPAN>php (ig:
server_databases.php)</DIV>
<DIV>2. for <SPAN style="COLOR: #ff0000">batabase </SPAN>operation: <SPAN
style="FONT-WEIGHT: bold">db</SPAN><SPAN
style="COLOR: #ff0000">_<operation>.</SPAN>php (ig: db_events.php
)</DIV>
<DIV>3. for <SPAN style="COLOR: #ff0000">table </SPAN>operation: <SPAN
style="FONT-WEIGHT: bold">tbl</SPAN><SPAN
style="COLOR: #ff0000">_<operation>.</SPAN>.php (ig:
tbl_replace.php )</DIV>
<DIV>.................</DIV>
<DIV> </DIV>
<DIV>
<DIV>========================<SPAN
style="COLOR: #ff0000">workflow</SPAN>====================</DIV></DIV>
<DIV>take "server_databases.php" for example. it is for user to create or drop
database.</DIV>
<DIV> </DIV>
<DIV>in the server_databases.php, the file will include:</DIV>
<DIV>1. "server_databases.js" in JS folder, it is for Ajax request to
backend.</DIV>
<DIV>2. "display_create_database.lib.php " it is output the page
element for create table. including action tag for ajax request.</DIV>
<DIV>3. when user clicks the "create", there will be a ajax request to
db_create.php</DIV>
<DIV>4. in db_create.php, the SQL is executed and return the execute
result to frontend.</DIV>
<DIV>5. the frontend page use the Ajax request and refresh the page.</DIV>
<DIV> </DIV>
<DIV>that is the simple process for every user operation.</DIV>
<DIV> </DIV>
<DIV>====================<SPAN style="COLOR: #ff0000">my
confusion</SPAN>================</DIV>
<DIV>back to my project: Automatic testing . Following is
my confusion:</DIV>
<DIV>1. why the db_create.php and some php page is stored on ROOT folder
instead of <SPAN style="COLOR: #ff0000">libary </SPAN>folder? Is it because it
for browser access? a link?</DIV>
<DIV>2. From the code coverage report page: <A
href="http://ci.phpmyadmin.net/job/phpMyAdmin%203.5/cloverphp/">http://ci.phpmyadmin.net/job/phpMyAdmin%203.5/cloverphp/</A>?
</DIV>
<DIV>I found that a lot of file is not included. such as the php file on the
ROOT folder.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Can someone give me some tips? thanks, I am looking forward to hearing your
reply. thanks</DIV>
<DIV> </DIV>
<DIV>But the way, I try to pick up and fix some bugs on: <A
href="http://sourceforge.net/p/phpmyadmin/bugs/">http://sourceforge.net/p/phpmyadmin/bugs/</A>
</DIV>
<DIV> </DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>adam</SPAN></DIV>
<DIV> </DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:adamgsoc2013@gmail.com">adam</A></DIV>
<DIV><B>Date:</B> 2013-03-21 00:40</DIV>
<DIV><B>To:</B> <A href="mailto:dieter.adriaenssens@gmail.com">Dieter
Adriaenssens</A>; <A
href="mailto:phpmyadmin-devel@lists.sourceforge.net">phpmyadmin-devel</A></DIV>
<DIV><B>Subject:</B> about project: Automatic testing</DIV></DIV></DIV>
<DIV>
<DIV class=FoxDiv20130323175938429096>
<STYLE>BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.7601.18035">
<DIV>Thanks for your reply, Dieter</DIV>
<DIV> </DIV>
<DIV>I will dig into the information that you gave me deeper. </DIV>
<DIV> </DIV>
<DIV>I am very familiar with the CI env and PHP code coverage, because I just
finished a similiar project when I Intern on Yahoo! last year.</DIV>
<DIV> </DIV>
<DIV>when I intern on Yahoo! last year, I finished a automatic testing
job:</DIV>
<DIV>1. PHP UNIT code and Functional testing code.</DIV>
<DIV>2. Commit to SVN will trigger a CI build.</DIV>
<DIV>3. The CI build is done by: slenium + Firefox+ Xvfb (so that we dont need
screen)</DIV>
<DIV>4. output the code coverage report.</DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>adam</SPAN></DIV>
<DIV> </DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:dieter.adriaenssens@gmail.com">Dieter
Adriaenssens</A></DIV>
<DIV><B>Date:</B> 2013-03-19 17:49</DIV>
<DIV><B>To:</B> <A href="mailto:adamgsoc2013@gmail.com">adamgsoc2013</A>;
<A
href="mailto:phpmyadmin-devel@lists.sourceforge.net">phpmyadmin-devel</A></DIV>
<DIV><B>Subject:</B> Re: [Phpmyadmin-devel] new here for
GSOC</DIV></DIV></DIV>
<DIV>
<DIV>2013/3/19 adam <adamgsoc2013@gmail.com>:</DIV>
<DIV>> Hi All,</DIV>
<DIV>></DIV>
<DIV>> I am new here for GSOC.</DIV>
<DIV>> After reading the idea listed on link:</DIV>
<DIV>> https://wiki.phpmyadmin.net/pma/GSoC_2013_Ideas_List#Automated_testing</DIV>
<DIV>></DIV>
<DIV>> I am quite interested on the topic: Automatic testing. I have some</DIV>
<DIV>> developing experience on selenium and PHP Code Coverage.</DIV>
<DIV>></DIV>
<DIV>> I am very glad to join phpmyadmin. I will dig my selves into here, thanks</DIV>
<DIV>></DIV>
<DIV>> ________________________________</DIV>
<DIV>> adam</DIV>
<DIV> </DIV>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>If you are interested in applying for a GSoC project, you can take</DIV>
<DIV>a look at our applicant guide [0], it will tell you what we expect</DIV>
<DIV>from applicants.</DIV>
<DIV>In case of the automated testing idea : A good way to start is to have</DIV>
<DIV>a look at the current tests [1] and code coverage [2]. We expect you</DIV>
<DIV>to provide a patch as part of your project proposal, so you can add a</DIV>
<DIV>few tests to show us that you understand the code.</DIV>
<DIV> </DIV>
<DIV>[0] http://wiki.phpmyadmin.net/pma/GSoC_2013_Applicant_Guide</DIV>
<DIV>[1] http://wiki.phpmyadmin.net/pma/Unit_Testing</DIV>
<DIV>[2] http://ci.phpmyadmin.net/job/phpMyAdmin/cloverphp</DIV>
<DIV> </DIV>
<DIV>-- </DIV>
<DIV>Kind regards,</DIV>
<DIV> </DIV>
<DIV>Dieter Adriaenssens</DIV></DIV></DIV></DIV></BODY></HTML>