Testing Overview
Testing was performed in the style
of alpha white-box testing. It was
conducted from the perspective of the coder with prior knowledge of the
system. Unit testing was done on
individual web pages. Integration
testing was from the cross referencing web pages and foreign keys attributes
for records. After each one was conducted,
a complete overview of the site as a whole was the last step of system
testing. Testing was based on the
requirements the group presented in the design and analysis phases. Scaffolds were created for identified class
objects except for personal information. Scaffolds in ruby provide a style
sheet, a migration file for the database, a controller for page interaction, a
model page for variable augmentation and 4 html pages. Pages consist of new, show, edit and index
with a default form for the attributes from instantiation. Actual testing modules and coffeescript pages
were also created but were not implemented.
Model of site were to fit the processes of the use cases and diagram
charts from previous documents.
Unit Testing
Unit testing was for each
page. Whenever a page has an error, the
user is sent to an error page with the details of what has happen. This is excellent is hinting on how to fix it
as well. Every single webpage was tested
to see if it was accessible via the browser.
Once retrieved, each of its links or attribute was tested. Each new page of a scaffold was to insert the
given information into the database for a record visible from the other three
pages. Show displays the data. To elaborate, media files in the form of
video or image must be present. Social
media link should go directly to the external page of user’s input. Edit will allow you to change any attribute
available from the form. Index is sort
of a home page for all records found in the database of a given class. This sequence was repeated for each scaffold
created. Heading styles and the
application’s navigation links should also be reliable as designed from page to
page. Sample image from fileload page is attached below.
Integration Testing
Database was scripted to have the login object’s id be a foreign key of the social media, visual media and student activity objects. This was to ensure that all information associated with a specific login id would appear on its page. Once a login was created, the tester would go to the show page. From show, I could then go to one of the other scaffolds to create a new object. The login id would be a hidden field passed as an inherited session variable. Returning the login’s show page should now display the newly created video file, image file, Instagram link, facebook link, twitter link and activity update. Additional route coding was added to the routes page to create the appropriate link for the necessary HTML actions. Images are added below from the first test with internet explorer where the visual media will play.
Second image is from Mozilla firefox where activities were added but video is not supported.
System Testing
In the early stages there were
several errors as misspellings would lead to objects not found errors. Working through those sorts of bugs allowed for
the more technical aspects of the intended design. There was a lot of trial and error involved
as changes were made followed by running the application to see the
effects. One regret was not getting the
user authentication page working.
Authentication was supposed to check for the entered login name in the
database. If found the next step was to
take the encrypted password found, decrypt it and match it to the user entered
one. One of the problems encounter was
creating such a record would be non-efficient duplication in the database. If the information was not entered into the
database, it would not accept a direct match as the primary key was not found
using the implementation of a session variable.
If I were to use a non-session variable, user would just be sent to an
empty login screen. Other than that, the
final product performs to a very close proximity to what was expected. There were some flaws of videos only viewable
in mp4 format from the internet explorer browser. But I was not able to modify that from a
design standpoint. It was maybe a
conflict with the development environment or source coding. Also there was not enough time for mobile
conversion. Overall the application
meets many of the requirements requested are the final results.
Second image is from Mozilla firefox where activities were added but video is not supported.
A review of overall system
performance was the final stage of system testing. Unit testing and integration testing made
this simple. Aside from review, database
was checked to see if information was entered and updated. This was completed by inserting data via the
website and using the sqlite terminal to check the tables.
Testing Results
No comments:
Post a Comment
Thank you very much for viewing this entry and I hope you are able to return soon to continue to enjoy more of the site.
Please share your thoughts in the comment section.
Be blessed and enjoy life!