Faculty of Engineering and Mathematical Sciences 
Not logged in (login)


This forum is provided to promote discussion amongst students enrolled in Agile Web Development (CITS3403).
RSS cloud
Jump to:

Unit Testing

1 of 419 articles shown, currently no other people reading this forum.
From: Elise R.
Date: Wed 20th May, 4:18pm
Just a question about unit testing.  In the workshop from last week, in the 
__init__.py file, app.config.from_object(Config) was changed to 
app.config.from_object(TestConfig). Does this mean that we need to do that every time 
we decide to run tests and then change it back to Config when we're done? Or we 
should be running the test config as we build and then changing it back when we're 

Also, in terms of what to test, for unit testing we should choose one model and run 
unit tests for all the routes.  What should we be doing system testing on? Obviously 
in practice, it would be ideal to do everything, but just in the context of this 

Related articles

Unit Testing (both) RSS
├─ THIS   Wed 20th May, 4:18pm, Elise R.
└─ reply 1   Thu 21st May, 11:22am, Timothy F.
This Page

Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020