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

Reply via email to