describeUnitTests

describeUnitTests
()
()

Examples

it should describe this unittest

1 auto result = describeUnitTests!(introspection.unittest_);
2 
3 result.length.should.equal(1);
4 
5 result[0].type.name.should.equal("void()");
6 
7 result[0].attributes.length.should.equal(1);
8 result[0].attributes[0].name.should.equal(`"some attribute"`);
9 
10 result[0].location.file.should.equal("source/introspection/unittest_.d");
11 result[0].location.line.should.be.greaterThan(0);
12 result[0].location.column.should.equal(1);

Meta