I'm working on a reporter that hooks into TeamCity and I'm wanting to report any specs that are part of a disabled suite (
xdescribe) as an ignored test, but such specs don't seem to be reported. Is there anyway to retrieve this information?
For example:
xdescribe('My disabled suite', function() {
it('spec1', function() {
...
});
it('spec2', function() {
...
});
it('spec3', function() {
...
});
});
I want my reporter to be able to report spec1, spec2, and spec3 as ignored tests, but since the suite is disabled, information about the child specs are not passed to the reporter.