The ns-3 Network Simulator Project
Creation testing for Comment Model in ns-3 AppStore
This task is aimed at developing a test suite for ns-3 AppStore. Students can use the baseline code present in this file.
The AppTestCase
class in the file tests the App model in the AppStore. Students are expected to do the following:
- Create a new class,
CommentTestCase
, similar toAppTestCase
. Populate all the fields in Comment Model (Look at models.py for reference). - Add a
test_comment_created
function in the class to assert on every field populated. - Submit the diff on GCI dashboard
Note: Follow the steps in the wiki to setup the repository locally. You can run python manage.py test
to run the tests and verify your code.
Task tags
Students who completed this task
Parth Pratim, Asanali, sikfeng, bartekche, Victor Hu