Freedom Fighting: A Liberator Primer

If you've ever built a webservice in Clojure, you've done it using Ring. Writing HTTP responses is boring, but fortunately Liberator provides a bunch of boilerplate that makes it easy to do and easy to read and test. This post generally assumes you've used Liberator a bit, but if not... Read More...

Tagged: clojure, liberator, rest

Unit and browser-testing Om & ClojureScript applications

What are we trying to do? The ClojureScript and Om world is moving very quickly; new versions are being cut weekly, and there are people using them all over the place. However, when starting out on our Om journey here, we've found that good advice on getting unit and integration... Read More...

Tagged: clojure, clojurescript, om, webdriver, testing

The Green Cross Code: Parallel Selenium in Clojure

I trust my co-developers to write good code. I trust my open-source benefactors to do their best to make their code work. I do not, however, trust browser manufacturers to be compatible with the great things these people make. When you can't trust what someone says, you demand proof -... Read More...

Tagged: clojure, webdriver, testing, selenium

Clojure: Tasty Korma Recipes

Korma is a handy library for SQL in Clojure; the docs are good, but sometimes an example is more useful. Here are some handy things you can do (I've used MySQL but the techniques, like Korma, can be used with any relational database): Prepare/Transform Korma can automatically process data... Read More...

Tagged: clojure, Korma, SQL

Automating Linkage: How I Learned To Stop Worrying And Love The Build

Building with Gulp.js I've recently come to Javascript, and the first thing I wanted to do was set up a build for my project. We'd been using Grunt, but that all looked a bit ANTsy, so when a colleague recommended gulp.js, I jumped right in. Getting started was... Read More...

Tagged: Bower, gulp, wiredep, javascript, bower

Midje Rocks - Integration Testing In Clojure

Clojure's great - we write these tiny functions that do one thing well, and bury them in unit tests using our fave testing framework (mine's Midje). Then to keep things small and manageable, we compose our applications of micro-services, right? So everything's awesome. The problem is that we don't have... Read More...

Tagged: clojure, Bright North

Test Cases with Style

I came across a post on sqa.stackexchange.com the other day about styles of writing test cases, specifically manual ones… It got me thinking about how I’ve developed mine over the years. The focus here is on building Test Plans, so take this with a pinch of salt.... Read More...

How we think about technology

After nine months of refinement, it's time to lift the lid a little and talk about some of the technology decisions we've taken in designing our systems. The architectural decisions we've taken are all linked back to some of the fundamental ways we want to do things here at Bright... Read More...

Tagged: chef, tech, clojure, devOps

Engineering Team Manifesto

What follows is a copy of the Bright North Engineering Team Manifesto (which will also now be perma-linked on the right hand side of this blog. If what you see here resonates with you - we're hiring! Improve. Why are we here? Make interesting things Get better at it every... Read More...

Quick-and-easy Highcharts

Recently I've done some very quick prototyping work to develop a few charts for a proof-of-concept. I decided to try out Highcharts, a library I've successfully used in the past, and see what had changed in the last two years or so. Highcharts is designed to display charts using pure... Read More...