Project

General

Profile

Task #2369

Write unit-tests

Added by Alex Afanasyev over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
tests
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Currently, ndnSIM doesn't have a single unit test. However, some functionality is actually tested in the examples.

This is a major task that includes writing unit tests for all the code, except base NFD codebase (ndnSIM specific modifications of NFD still should be covered by the unit tests).


Unit tests should use Boost.Test framework

History

#1 Updated by Spyros Mastorakis over 4 years ago

  • Category set to tests
  • Status changed from New to In Progress
  • Assignee set to Yuanzhi Gao

#2 Updated by Spyros Mastorakis over 4 years ago

Yuanzhi, any progress with this task?

#3 Updated by Yuanzhi Gao over 4 years ago

Spyros Mastorakis wrote:

Yuanzhi, any progress with this task?

Hi Spyros and Alex,

I have played with some of the existing tests cases for ndn-cxx, trying to get familiar with how the test cases should look like. I have a question that what functionalities in ndnSIM should my test cases test on? Could you give me any reference that I can look into?

Thank you very much.

#4 Updated by Spyros Mastorakis over 4 years ago

Yuanzhi, any progress with that?

#5 Updated by Yuanzhi Gao over 4 years ago

Spyros Mastorakis wrote:

Yuanzhi, any progress with that?

Hi Spyros, sadly not too much progress this week. I am still working on the gerrit tutorial so far. A lot of coursework and projects near finals week. But I'll catch up later this week.

Thank you.

#6 Updated by Spyros Mastorakis over 4 years ago

Yuanzhi, could you please submit your code on gerrit for comments?

#7 Updated by Yuanzhi Gao over 4 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 80

#8 Updated by Junxiao Shi almost 4 years ago

  • Status changed from Code review to Closed
  • % Done changed from 80 to 100

Also available in: Atom PDF