Skip to content

Rewrite tests #27

@gbiggs

Description

@gbiggs

The tests have become extremely fragile. They must be re-written to:

  • Separate them properly out into individual test cases.
  • Work against the library APIs primarily
  • Test the commands for correct output (stdout, stderr, returncode, effect on components; etc.) in relation to input
  • More cleanly manage starting and stopping the name server, manager, and components, to guarantee a clean slate for each test.

A major cause of the fragility is the fragility of the rtcd daemon and component managers. They regularly segfault in the middle of tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions