Skip to content

Add unit tests for Watcher and Master #9

Open
@MateusDantas

Description

Creating interfaces for ProcPreparable, ProcContainer and file_util is essential to make unit testing easier. After that we can easily create mock instances and apply it on master and watcher. The tests should mainly test the following:

  • Starting processes serially
  • Starting processes in parallel
  • Killing processes serially
  • Killing processes in parallel
  • Killing keep-alive processes
  • Killing non-keep-alive processes
  • Trying to build non-compilable projects

The main idea is to test how APM behaves when facing possible race condition situations and how it handle errors.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions