Testing D database calls code for regression

nani eduardomcbt at gmail.com
Fri Mar 16 21:19:32 UTC 2018


On Friday, 16 March 2018 at 20:17:49 UTC, aberba wrote:
> How will you test D code which makes calls to database to 
> detect bugs and regression. Unlike where you can inject data 
> like assert (2+1 == 3), database interfacing code will be 
> crazy... Or there's some mocking available for such cases. 
> Especially when more features are developed on top.

would type providers 
(https://docs.microsoft.com/en-us/dotnet/fsharp/tutorials/type-providers/) be posible with ctfe?
that would be one way to test at compile time functions that use 
the db.


More information about the Digitalmars-d-learn mailing list