-
Notifications
You must be signed in to change notification settings - Fork 2
Testing Thoughts
jaredwelch1 edited this page Nov 14, 2016
·
2 revisions
#Testing the Site
Since the site using mainly web interfacing, unit tests are not really applicable for most of the front end functionality.
-
This seems like it could be a good option for testing the site. Will explore.
#Testing the database
In order to test this, it is relatively simple. I think I can write simple C or C++ (might need to think about this, maybe I could use javascript? probably) unit tests which call the query, check the result, assert the values are correct. This shows valid data. I can write tests for a user login and password and verify the login works, since that is a back end call anyway. I can also write tests with bad queries and make sure that they fail. Not sure what other tests I can do... Maybe ask and see.