Web lists-archives.com

Re: Unit tests for debconf

Hi Zigo,

On 04-03-18 18:02, Thomas Goirand wrote:
> I was wondering if there was a way to mock the db_{get,set,input}
> framework to do unit testing of my shell scripts. Does anyone has some
> pointers to some docs, or any piece of software doing that?

If you learn about this, I'd like to hear. In dbconfig-common, I do
testing without mocking. I use pre-seeding to change the answers given
by debconf.


Attachment: signature.asc
Description: OpenPGP digital signature