The ns-3 Network Simulator Project
Test tagSearch view in ns-3 AppStore
ns-3 AppStore is used to host ns-3 modules that are independently developed and maintained. This task aims to enhance the test-suite that is being currently used in the ns-3 AppStore. The task is to write a basic unit test to verify the sanity of ‘tagSearch’ view defined in “src/apps/views.py”.
The student is expected to do the following:
- Clone and setup the repository: https://gitlab.com/nsnam/ns-3-AppStore/
- You can follow the instructions in the Wiki and ReadMe to setup the repository
- Make sure the current test-suite is running as expected by running the command:
- python manage.py test
- Add a new function to the AppTestCase class defined in “src/apps/tests.py”, named "test_tagSearch_view"
- The function should test all the URLs that are handled by appPage view. Eg: "/tag/all", "/tag/ "
- The function should test GET requests handled by the view.
- For the final submission, upload the diff generated by "git diff" command on the GCI dashboard. Along with this, upload a screenshot of the output after running "python manage.py test" command.
Task tags
Students who completed this task
Kr0n0s, hax0kartik, howie