Skip to content

Latest commit

 

History

History
250 lines (160 loc) · 5.39 KB

CodeTesting.md

File metadata and controls

250 lines (160 loc) · 5.39 KB

Testing

Code testing and validation tests, user story testing and user acceptance testing.

Table of Contents

 


HTML was validated by copying the page source and pasting into the validator and by entering the link in the validator.

Templates

Accounts templates

login template ![login](/media/testing/html/login.png)
logout template

logout

signup template

signup

One error was generated in the logout template but unresolvable because it is jinja related.

Error page templates

err400 template

err400

err403 template

err403

err404 template

err404

err405 template

err405

err500 template

err500

Two identical errors were generated in the each of the error page template but unresolvable because they are jinja related.

Home

Home Page

Home Page

Post Details

Post Details

Post Details

About

About Page

About Page

Map

Map Page

Map Page

Popup

Location Popup

Popup

One warning for the popup template.

 

All CSS pages passed the W3C CSS Validation Service

CSS Validation

 

JavaScript Testing

JSHint was used for validating the JavaScript.

ExtendsClass was used to validate the python code. Two errors were reported out of all the code. However the errors are due to the checker running an older version of Python which doesn't support f-strings.

reported error

 


User Story Testing

Map Interaction

View and click on well locations on a map
#11

Authentication

Signup, signin and signout
#14

Post Interaction

Like posts
#16

Post comments
#15

Edit or delete comments
#20

UAT on all devices

Desktop or Laptop UAT
#23

Tablet UAT
#24

Smartphone UAT
#25

 


Performance

Home Page

Home Page Performance

hpp

About Page

About Page Performance

app

Map Page

Map Page Performance

mpp

Post Detail

Map Page Performance

dpp

 


Bugs

The following bugs and issues were encoutered and resolved

Unresolved bug

  • A new or an existing post can be linked to a well which is already linked. However this can only be done by an superuser or staff user on the admin backend. Such a user would or should be aware of this.