Techno Fattie

Articles tagged with "unit-testing"

Josh Carroll

In ancient times... at least according to web standards, I wrote a couple of posts about unit testing with declarative security attributes. It turns out that while using declarative security is pretty awesome, it's clear nobody was ...

Josh Carroll

Oren Eini (a.k.a. Ayende Rahien) is going through the joy that is trying to find good developers. The other day he posted some sample code that an interviewee had turned in to a coding challenge. The results weren't pretty!The ...

Josh Carroll

See Part 1And Part 3In a previous post I talked about using the PrincipalPermissionAttribute to achieve some last resort security that was tightly integrated into the framework.The nice thing about this approach is that you don't have to...

Josh Carroll

See Part 2And Part 3Security is hard. If you think it isn't your software is probably just waiting to be exploited by this guy:Knowing this, the guys who put together the .Net framework gave us a pretty brain-dead approach to adding secu...

Josh Carroll

If you regularly use TDD, then you are familiar with the concept of mocking. If you don't use TDD, then you need to slap yourself and apologize to Bob Martin, Michael Feathers and Ron Jeffries immediately. I'll wait here... Wh...