Testing
Result
Write SQL statement with test inputs
and run it using phpMyAdmin.
Test input:
Expected Result:
addUser method
Write a code to create object of the
in User class
class and call the method with test
inputs and compare output in
database
Test input:
Expected Result:
addUser method
Write a PHP unit test to test the code
Input:
in User class
Output:
Assert Condition
Note: the result column is filled as you code and test your application.
7. Start to write your code but make sure to test and commit your changes to
the branch. The code has to follow standard code format and comments
agreed by the group. You have to add comments for documentation of the
source code.
a. Create a class with the necessary functions
b. Create an ajax page with the necessary commands
c. Create a page that implements the feature
d. Conduct unit test and write a report
8. After you have met your functional requirement and tested it, pass it to
another teammate to test as a professional tester. Your tester should use the
requirement document only to test your code and give you feedback.
a. The tester will write a short test report that will be part of the group
report (half page report). Everyone in the group has conduct one test.
9. After the testing is done, document your work on the wiki page of the Git
repository. The wiki page will be a user manual. For each functional
requirement you are implementing, write a how to page to explaining how
the user will use the feature.
10.Finally the group should merge all the functional requirement branches into
one implementation branch.
Submissions (individual):
Code on remote server marked as projimp1
Branch pushed to github and wiki documentation
MS Word document with specification for requirement, sequence diagram,
unit test result, professional test result
API documentation generated using phpdoc
Implementation Process Rubric
Submission (5 point)
Code management (5 point)
Use of CSS (5 point)
Php class, AJAX, and related code
5 points
View and Feature that works as expected
5 points
Code format and Standard (5 point)
Wiki Page (5 point)
Testing and PHPTest (5 points)