Task #1175
closedSeparate tests into unit-tests and integration tests
100%
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?)
Updated by Alex Afanasyev over 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.
Updated by Junxiao Shi about 10 years ago
- Related to Task #1948: Run integrated tests for every Jenkins build added
Updated by Junxiao Shi about 10 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?
Updated by Alex Afanasyev about 10 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).
Updated by Junxiao Shi about 10 years ago
- Status changed from New to Closed
- % Done changed from 50 to 100
Environment for integrated tests is split to #2064.