Task #1175
closed
Separate tests into unit-tests and integration tests
Added by Alex Afanasyev almost 11 years ago.
Updated about 10 years ago.
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 open — 0 closed)
- % Done changed from 0 to 20
- % 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.
- Related to Task #1948: Run integrated tests for every Jenkins build added
- 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?
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).
- Status changed from New to Closed
- % Done changed from 50 to 100
Environment for integrated tests is split to #2064.
Also available in: Atom
PDF