The ns-3 Network Simulator Project
Creation testing for Download model in ns-3 AppStore
This task is aimed at enhancing test suite for ns-3 AppStore. Students can use the testing code for the Apps package in the repository as reference.
The task is to edit the file, /src/download/tests.py. Students are expected to do the following:
- Create a new class, DownloadTestCase, similar to AppTestCase.
- Populate all the fields in Download Model (Look at /src/download/models.py for reference).
- Add a test_download_created function in the class to assert on every field populated.
- Submit the diff, and the screenshot running
python manage.py test
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
SaiMyGuy, hax0kartik, pterp