3 ms·
Oh, for sure, it's a simple helper function but the ramification is huge! 1. Which user? which role should the test written as? 2. Suddenly bug showed up beca
by edwinnathaniel 11y ago
Oh, for sure, it's a simple helper function but the ramification is huge!
1. Which user? which role should the test written as?
2. Suddenly bug showed up because expectation between roles differ (usually the bug is in the test framework)
No, it's not the end of the world, just programmer's productivity go down...people can still work for the project just isn't fast as it used to be anymore...
- 3pt14159 11y agoCompared to unit tests where the concept of the user doesn't even exist or needs to be shimmed in with a proxy object, I really don't think the user differences in ACL are the deciding factor between the two. As for programmer productivity, proper parallelization of these tests results in sub second test suite runtime. Maybe more if there is a new dependency that the testing servers need to install, but it really isn't that bad.