You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create ProcPreparable and ProcContainer mock instances
Implement unit tests for Watcher
Implement unit tests for Master
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.
The text was updated successfully, but these errors were encountered:
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:
The main idea is to test how APM behaves when facing possible race condition situations and how it handle errors.
The text was updated successfully, but these errors were encountered: