The ns-3 Network Simulator Project
Creation testing for Installation and Maintenance Models 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 2 new classes:
InstallationTestCase
andMaintenanceTestCase
to test Installation and Maintenance models respectively, similar toAppTestCase
. Populate all the fields in the respective Models ( Look at models.py for reference).Add a
test_<model-name>_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