I just finished off some burly refactoring of our security management code base so that it could be better unit tested. This subsystem essentially controls what tools a user has access to, as well as what layers / features a user can edit, so it’s a pretty critical part of the infrastructure.
I’m working on some posts about how I did this, and should get them out next week, but for now, I’ll just show this…
Although there are only 16 tests listed, many of these methods actually contain a number of individual test assertions, and there are more than 80 tests that are actually run.
