go-tuf icon indicating copy to clipboard operation
go-tuf copied to clipboard

tests: improve go-tuf testability

Open rdimitrov opened this issue 3 years ago • 1 comments

Based by a comment from @znewman01 in https://github.com/theupdateframework/go-tuf/discussions/291

Right now we have a lot of "instantiate a thing, and then do a whole bunch of miscellaneous operations with it because instantiating requires so much boilerplate" tests, which often feels like flailing. I'd like to see that migrate towards many tests of specific scenarios/properties, with a purpose.

rdimitrov avatar Jun 08 '22 13:06 rdimitrov

We had a discussion about this in the go-tuf maintainer's meeting (everything following "The main way we test this is these big Python fixtures").

znewman01 avatar Aug 03 '22 22:08 znewman01