Parallel execution of unittests

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Thu May 1 04:18:45 PDT 2014


On 2014-04-30 21:12, bearophile wrote:

> Are UDAs enough?
>
> @uname("foo") unittest {}
>
> What I'd like is to tie one or more unittests to other entities, like
> all the unittests of a specific function.

Something similar is done in RSpec. A BDD framework in Ruby. In D it 
might look like this:

@describe("foo")
{
     @it("does something useful") unittest
     {
     }

     @it("also does some other stuff") unittest
     {
     }
}

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list