Project

General

Profile

Actions

Task #1175

closed

Separate tests into unit-tests and integration tests

Added by Alex Afanasyev over 10 years ago. Updated over 9 years ago.

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

100%

Estimated time:

Description

Keep the same directory structure, but make a naming conventions:

  • unit- is prefix for all unit test files (Unit tests do basic self-contained checking that do not depend on anything external)
  • ci- is prefix for all continuous integration tests (These tests would require external dependency, such as running NFD or ndnd-tlv)

Part of this task is also to figure out a simple way to define the dependency for continuous integration tests (script?)


Related issues 1 (1 open0 closed)

Related to ndn-cxx - Task #1948: Run integrated tests for every Jenkins buildNew

Actions
Actions #1

Updated by Alex Afanasyev about 10 years ago

  • % Done changed from 0 to 20
Actions #2

Updated by Alex Afanasyev almost 10 years ago

  • % Done changed from 20 to 50

The tests have been separated into unit and "integration". However, integration tests needs to be a little smarter: each integration test should somehow define the environment in which this test should run. Or we can ignore this part and just write a small readme in integration tests about what conditions should be before running the integration tests.

Actions #3

Updated by Junxiao Shi almost 10 years ago

  • Category set to Tests
Actions #4

Updated by Junxiao Shi over 9 years ago

  • Related to Task #1948: Run integrated tests for every Jenkins build added
Actions #5

Updated by Junxiao Shi over 9 years ago

  • Start date deleted (01/30/2014)

I notice many unit testing filenames either start with test- or has no common prefix.

Should we require new unit testing filenames to start with unit- as described in Task Description, and gradually rename existing files?

Actions #6

Updated by Alex Afanasyev over 9 years ago

This task irrelevant, and kind of closed. Tests are already separated, but instead of separating by name, we use different folders for unit and "integrated" tests (the current "integrated" tests still don't define the environment they need to be run).

Actions #7

Updated by Junxiao Shi over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 50 to 100

Environment for integrated tests is split to #2064.

Actions

Also available in: Atom PDF