March 30, 2015
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?
March 30, 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