Hi,

Our question is on the right approach to testing such a framework ?

1) start with low level unit tests and strive to mock out the DB
2) continue with higher level integration tests with a DB and data fixtures

More specifically

(1) What is the best way to write unit tests that need model definitions
(without database)
and (2) integration tests that need database access in a framework that
relies on Pyramid+SQLA but doesn't have any models defined in the code.

Thanks for the follow up!
Any advice would be greatly appreciated.



> Message: 1
> Date: Wed, 6 May 2015 11:38:34 +0000
> From: holger krekel <[email protected]>
> To: Brianna Laugher <[email protected]>
> Cc: "[email protected]" <[email protected]>, Chris Hart
>         <[email protected]>
> Subject: Re: [pytest-dev] adopt pytest month is over!
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Brianna!
>
> thanks for this great initiative!  I am also looking forward to the
> survey.
>
> Note sure i can help myself but are there some notes/summary of what is
> the problem with Nefertari currently?
>
> best,
> holger
>
>
_______________________________________________
pytest-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to