Thanks!, So for each test , do i need to add same test data? or do we have
any other way not to repeat the same test data?
On Tuesday, 13 August 2019 20:32:16 UTC+5:30, Vinicius Assef wrote:
>
> The database is cleared after each test method.
>
> So, in a new testcase your database is empty.
>
>
The database is cleared after each test method.
So, in a new testcase your database is empty.
On Tue, 13 Aug 2019 at 00:34, Arulselvam K wrote:
> Have hosted the code @ "https://github.com/tbone230590/plib";
> Here is the problem I have two models Book and IssuedBook, IssuedBook have
> foreign
Have hosted the code @ "https://github.com/tbone230590/plib";
Here is the problem I have two models Book and IssuedBook, IssuedBook have
foreign key relation to Book object.Those models are defined @
"/api/data/models" I have unit tests for testing those models and are
available @ "/api/unit_te
3 matches
Mail list logo