now browsing by tag
Django Unit Testing with Mocks
Unit tests shouldn’t be treated like lesser code. It should be as clean as possible and don’t ever hesitate when it comes to refactoring the unit test code. It can save you a lot of trouble in the long run.
AngularJS: testing services that use $resource
when you’re writing services that interact with the backend, you may need to break your service into two services to avoid mock objects. And this is okay!
Why Proper Terminology in the Software/Web Dev Industry Matters
Terminology and jargon are part of any field and industry. They enable us to communicate with a common vocabulary which makes it quicker for us to get to the matter at hand. The nice thing about our industry is that people without computer science degrees, such as myself, can getRead More
End to end tests posing as unit tests
I’ve been reading the excellent book The Art of Agile Development, I started to think more about why Test Driven Development is important and how it affects how you write code. Using some of the 20%/practice group time we have at work, I started to review my own code to see if I’mRead More