I am trying to figure out how we can append a test suite section name (or any nested level of section names) to our Fogbugz push defect plugin.
I’ve read the document:
The section on the $context argument doesn’t seem to list any higher level section information about the current test, but maybe I am missing something?
As an example:
We have a Test Suite section name “608CC Suite” and a test case “abc test”.
When we log a bug using the push feature, we want the default bug tracker title to be:
“Failed Test - 608CC Suite: abc test”
currently I use the following in our push method:
$title = 'Failed Test - ’ . current($context[‘tests’])->case->title;
but that only gets me
"Failed Test - abc test"
Is there any way to get the section name from the $context argument?