I had written a small package allowing to perform unit testing independently of Workbench, while also in consistency with Workbench .mt test files
It looks like this:
Warning: I'm not sure if Workbench uses the same .mt format. It's certainly similar but I'd appreciate comments on that. (An example of .mt file is included in the package. It's not in repository directly, however, — it gets generated by symbol
QuickExampleInstall defined in the package)
By means of properly managed
CellTags in notebooks, it is possible to run tests associated with specific notebook just by executing
test symbol anywhere in it. This functionality, however, is not present in the package I link to, but it's not difficult to add. It may appear there in future but I happen to be losing interest in unit testing, so it probably depends on feedback.
(If this is not what you want, and you believe this is completely useless, please tell me. I don't really understand unit testing.)