SESA / EBBlib

System independent library to support Elastic Building Blocks
MIT License
11 stars 6 forks source link

unit testing of EBB #12

Closed okrieg closed 12 years ago

okrieg commented 12 years ago

In trying to unit test EventMgr I ran into the fact that there was so much infrastructure required, it just didn't make sense. Alternatives are:1) to build shim of EBBMgr, MMgr to test, 2) to build simple bring up, e.g., UP, that gets real ones working, 3) to modify EventMgr so that it calls a very surcomscribed set of interfaces, overridden in test.

I am leaning towards option 2, but want to discuss before proceed. I think, while this is doing somewhat of a integration test, given that we rely on some core objects, this is the most natural.

okrieg commented 12 years ago

made this a comment to the unit testing issue