janison / theBFG

A cloud-native C# unit / integration / load testing tool that clusters automatically
6 stars 1 forks source link

Implementing the coverage command #4

Open captainjono opened 1 year ago

captainjono commented 1 year ago

Started work on the PR for this command. Mainly refactored the worker class so that buisness logic for different commands where isolated from eachother. Ive implemented the skeleton and the command should trigger some log messages.

Still some work todo on the fanout stratergy and dealing with this new "worker type" that reacts to commands but doesnt actually run the tests. we want them to get a copy of the messages, but not count as a "test worker". So this currently the cover command will fail because of this

https://github.com/janison/theBFG/blob/b25cb887bbc53430e96a465647ce85dc52c94205/src/bfgWorkerRemoteOrchestrator.cs#L115

https://github.com/janison/theBFG/blob/b25cb887bbc53430e96a465647ce85dc52c94205/src/bfgWorkerRxnManagerBridge.cs#L46

https://github.com/janison/theBFG/blob/b25cb887bbc53430e96a465647ce85dc52c94205/src/bfgCluster.cs#L25