Yes, that's what I would do. Though perhaps I might modify as below ....
Given Adam is an employee in the [HR](- "#dept") department
Then salary report generation is [allowed](- "c:assertTrue=salaryReportForEmployeeInDept(#dept)")
Given Bob is an employee in the [Unknown](- "#dept") department
Then salary report generation is not [allowed](- "c:assertFalse=salaryReportForEmployeeInDept(#dept)")
Also, fyi in case you haven't spotted them, and you might subsequently find them useful!
Cubano ( part of the Concordion family) - is a packaged framework for implementing web and API test suites. Builds on Concordion to bring your software delivery team together around living documentation.
Cubano also contains the
concordion-status-info-extension, which provides an ExpectedToFail status, though in this case is because the feature is failing (e.g. incomplete code, bug etc), as opposed to your BR scenario.
cheers,
JImmy