Walk through

Introduction

This is a quick walk through of a basic debug session using a prototype of the QA helper tool.

see also: Report details

Visual walkthru

Reset of session data

Step (1)

The current prototype resides at http://qa1-nl.sakaiproject.org:82
Login as admin with standard QA password.
Visit the Administration Workspace and click on the tool link QA helper
Now we clean all code coverage data, deselect "Generate a report".
Tick "Reset Coverage data".
Press next.

Step (2)

You should find yourself with a status screen with the positive "Reset executed" message. Underneath you have the back button and a link to the top level of the reports that have already been generated.

NOTE (1): A limitation of this tool is that resetting session resets the state for all users.
This effectively makes the tool only viable when tests and their associated reports are generated sequentially.
NOTE (2): An error message over deleting a file may appear at this point. The prototype needs to be updated for
a more user-friendly message and this is an expected result.

Generation of baseline report

Step (3)

Press the back button
Deselect "Reset Coverage data"
Tick "Generate a report"
Select "Sakai-login-tool"
Click on "Next"

Step (4)

If all goes well within a second or so a new report has been generated and you will see a link to the report "Sakai-login-tool"

Further, Comparing Reports

Next you should visit the report.
Save the report via your web browser
Logout and login again to exercise the login code base.
Regenerate the "Sakai-login-tool" report without resetting your data
Visit the new report.
Open a second browser with the saved baseline report and compare the reports side by side.

Note: This is a stunted example as comparing with an empty reset report.