March 30, 2015 Unit testing druntime | ||||
|---|---|---|---|---|
| ||||
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 Re: Unit testing druntime | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jonathan | 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
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply