9volt icon indicating copy to clipboard operation
9volt copied to clipboard

Unit tests

Open dselans opened this issue 8 years ago • 8 comments

Once baseline functionality is in place, we can start working out unit tests.

dselans avatar Dec 06 '16 02:12 dselans

This will probably take a while; progress is tracked in #76

dselans avatar Feb 26 '17 04:02 dselans

Putting this back in the backlog for the time being - lots of work still needed.

dselans avatar Mar 02 '17 04:03 dselans

So NUMBER 1 thing that needs to be unit tested is the director check distribution logic. That is a heavy piece of machinery and we must be certain that it works after every single commit.

dselans avatar Mar 03 '17 04:03 dselans

What's needed here. Starting with director, I see a lot of spending specs. Should I just make those pass?

jessedearing avatar Mar 04 '17 23:03 jessedearing

@jessedearing So I ended up writing out a lot of the test cases and left the implementation for later. The director absolutely needs to be worked on, but I am right now in the middle of redoing some bits and pieces of it (and the dal as well). I believe @talpert is working on testing the cluster component, so basically anything else is up for grabs!

The most important pieces needing testing in order of importance: cluster, director, manager, alerter, monitor, checks, state, event. Pick and choose whichever one - maybe create a separate issue and stick into the projects board so everyone knows what you're on?

dselans avatar Mar 05 '17 06:03 dselans

This is a shared task essentially; if folks want to split it out into separate notes (or separate issues) please feel free @jessedearing @talpert @relistan.

dselans avatar Mar 06 '17 22:03 dselans

I created a note and moved it in progress.

talpert avatar Mar 07 '17 15:03 talpert

I've written a bunch of tests for overwatch and cluster; will continue with director and so forth now that the logging testing story is a little more fleshed out.

dselans avatar Apr 24 '17 19:04 dselans