Unit testing druntime
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Mon Mar 30 13:49:46 PDT 2015
On 3/30/15 4:37 PM, Jonathan wrote:
> I noticed that I'm not able to unit test a file in isolation in druntime
> like I can in phobos. For example, I can't seem to run unit tests using
> the below method:
> rdmd -unittest -main src/core/atomic.d
>
> Is there a way to test modules in druntime like this?
Druntime unit tests are very fast (build and run takes 5 seconds on my
mac). I don't think we need this.
Phobos is much slower.
-Steve
More information about the Digitalmars-d
mailing list