floki icon indicating copy to clipboard operation
floki copied to clipboard

Much of Floki's function is hard to test in UT

Open tomwatson1024 opened this issue 5 years ago • 0 comments

Floki mostly consists of:

  • A command-line interface;
  • A series of subshell commands.

Neither are covered in UT, and by their nature aren't easy to cover with UTs either. This means it's easy to break Floki and have all UTs continue to pass.

Having some FV-style testing of Floki as a whole would be useful for catching this class of bugs, and likely more useful in general than fairly narrow-scoped UTs.

tomwatson1024 avatar Dec 10 '19 10:12 tomwatson1024