Having tests setup and teardown the data they need would possibly allow us
to run test suites in parallel which would dramatically decrease the
processing time.

I like having the tests depend on the database though, in the past it's
been helpful for spotting deadlocks.

Regards
Scott

On 24 April 2017 at 20:44, Jacques Le Roux <[email protected]>
wrote:

> Le 22/04/2017 à 12:11, Taher Alkhateeb a écrit :
>
>> Also, In my opinion, data
>> should be generated on the fly inside the tests, not pre-loaded or
>> depending on demo data.
>>
> That would be indeed more inline with how tests are recommended to be done
>
>> It would be even better if the tests bypass the
>> database completely and just test the functionality without reverting to
>> the database.
>>
> It's possible for real unit tests (like those which were added and run by
> Gradle) but I doubt it's possible to replace current integration tests w/o
> relying on the DB.
>
> Jacques
>
>

Reply via email to