now browsing by tag
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!
some code for running PHPunit in Emacs
I’m working on a legacy PHP app for a client and up until today I was running unit tests in a terminal window. But my natural working enviornment so why not write something that will execute the unit tests and display the results in an Emacs buffer? The following isRead More
rant: ugh nodejs and npm and test runners
NPM’s search really is awful. Especially on the command-line, it appears to scrape the npmjs.org website and doesn’t seem to cache much. It’s slower than apt-get. I switched to using the web interface to search for packages but then I realized that it has no way of sorting or filteringRead More