BitCobblers Logo

Behavior driven testing is a bit of an oddity in software development. Ask any developer about the tests they write on a daily basis and you'll commonly hear about unit and integration tests. Bring up behavior testing however and you'll likely be met with a bemused stare followed by them walking away while muttering a soliloquy about how they're just integration tests or that it's someone else's job. "But we use integration testing to verify our b...

Sergei GolosArticle

Unit Testing Blogs

The platform that this blog utilizes is ghost, a really simple an bare-bones blog. The main reason for this publishing engine over the pletera of choices out there... Markdown. I get to write everything in markdown, and ghost will go about making it pretty. Especially if you throw some prismjs in for code highlighting. But is pretty code enough??? Rhetorically answering this with a resounding NO... the code also needs to be correct. And how do we as software engineers mak...

Sergei GolosArticle

Unit Testing Controller Resolvers

We all know the secret to responsive ng-views, right? Well, it isn't really a secret. I am talking about routeProvder.when resolvers for pre-loading asynchronous server data. You really don't want your view sitting empty. resolve - {Object.< string, function >=} - An optional map of dependencies which should be injected into the controller. If any of these dependencies are promises, the router will wait for them all to be resolved or one to be rejected before...