[katello-devel] Permissions unit test coverage
Lukas Zapletal
lzap at redhat.com
Fri Dec 23 10:32:55 UTC 2011
Hello,
I created a simple code that allows us to track unit test coverage of
our permissions:
https://fedorahosted.org/katello/wiki/PermissionUnitCoverage
This report show all controllers and actions which are tested with
it_should_behave_like "protected action" shared example. Actions are
tested twice - one time with some permissions assigned (see the 3rd
column), second time without any (or particular) permissions (this table
does not cover that as we deny access by default).
How to create this report:
PERMISSION_COVERAGE=perm_coverage.log rake spec
Basically it's for me, but feel free to regenerate if you like it ;-)
Merry Xmas!
LZ
--
Later,
Lukas Zapletal | E32E400A
RHN Satellite Engineering
Red Hat Czech s.r.o. Brno
More information about the katello-devel
mailing list