The ns-3 Network Simulator Project

Creation testing for ReleaseDownloadsByDate 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:

  1. Create a new class, ReleaseDownloadsByDateTestCase, similar to AppTestCase.
  2. Populate all the fields in ReleaseDownloadsByDate Model (Look at /src/download/models.py for reference).
  3. Add a test_releasedownloadsbydate_created function in the class to assert on every field populated.
  4. 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.

https://gitlab.com/abhijithanilkumar/ns-3-AppStore/wiki

Task tags

  • python
  • testing
  • django

Students who completed this task

InquisitivePenguin, SaiMyGuy, hax0kartik, pterp

Task type

  • code Code
  • done_all Quality Assurance
close

2019