Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.67 KB

README.md

File metadata and controls

31 lines (19 loc) · 1.67 KB

Testing

We are primarily using unit testing to validate our software functionalities. Unit Testing tests individual components or units of the software. The tests are present in the "/src/tests" folder and are triggered using GitHub actions ("Unit_Tests.yml") whenever there is a push/pull request in the repository.

If you need to run the test in your local system, use the following commands:

cd src
python manage.py test 

There are four test files for our software. They are:

Test code to validate the URLs of the web application. This tests whether the functionalities are mapped to their respective URLs. Tests the URLs of 'Homepage', 'My People', 'Find Room', 'My Room', and 'LogOut'.

Test code that creates a user object and checks if the values are correctly stored in the attributes.

Test code to check if the HTTP request was succesful (based on the status code).

Test code that validates the Email ID (checks if it is has a NCSU Email ID).

5. Live Server Test Demo:

Test code for live server test for Profile Edit Page and Profile Page. In order to run the test rename the 'liveserver.py' file to 'test_liveserver.py'.

Live.Server.Test.Demo.mp4