Re: Unit tests for debconf

2018-03-04 Thread Paul Gevers
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. I

Unit tests for debconf

2018-03-04 Thread Thomas Goirand
Hi, 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? Cheers, Thomas Goirand (zigo)