← Back to team overview

duplicity-team team mailing list archive

Re: Code Coverage

 

On 16 April 2014 09:30, Kenneth Loafman <kenneth@xxxxxxxxxxx> wrote:

> Not sure I like the idea of a mock backend.  I'm thinking more along the
> lines of a duplicity API doc for backends that handles get, put, list, del,
> etc., where our wrapper would handle any retries so that those would be the
> primitives, not the full implementation.  We'd then have a way to put out a
> series of test cases for a new backend that would test separately from
> duplicity.
>

I also want that too.  A lot of the code in backend is duplicate logic.
And I like the idea of a little manual test script that backend authors can
use to validate their code.
-mt

References