3 ms·
what happens if you write a really slow test? is there some way to take advantage of the inbuilt console reporting, etc. without running them after every compil
by blt 8y ago
what happens if you write a really slow test? is there some way to take advantage of the inbuilt console reporting, etc. without running them after every compile?
- giancarlostoro 8y agoIt's not compiled into your binary unless you want it to be. It's ran at compile time every time you compile, though I'm sure there's a flag to not run unit testing, and maybe with version() you might be able to block out the time ocnsuming tests. Not sure what you'd do in D that'd be so time consuming though. Edit: URL to version() docs: https://dlang.org/spec/version.html https://dlang.org/spec/version.html