Home

Awesome

Coding Exercise Project

This repository contains small skeleton projects in a number of programming languages.

It is designed to aid in the coding exercise stage of the Guardian's recruitment process for Software Engineers.

To learn more, please see the repository of exercises.

Note that there are no skeleton projects available for the Swift programming language. For iOS developer roles, coding exercises are ran in a blank Xcode playground.

Inspired to work for us? Apply now

Setting up your environment

For the coding exercise you will need to be able to do two things:

These skeleton projects can be used to set up such an environment quickly should you wish but are not required. You can set up your own environment but please do so before you join the Hangout and check that you can run and test your code.

If you have any issues with your environment please let your interviewer know as soon as you join the Hangout so that they can adjust the exercise accordingly.

How to use

This repository has a directory per language. Each skeleton follows the same structure with a README and a failing test.

To get started:

๐Ÿ’ป Clone the repo git clone git@github.com:guardian/coding-exercise-project.git

๐Ÿ—‚ Switch directories to the language of your choosing

๐Ÿ”Œ Install dependencies and perform other setup tasks ./script/setup (usually uses homebrew)

๐Ÿงช Run the tests and witness them fail ./script/test

๐Ÿ’ป Now it is up to you! Using your editor of choice, start writing code!

Missing language?

Please raise a PR to add it with:

The requirement for the ./script commands is to keep consistency across languages and make it easy to switch between them. Read more here.

Note for Guardian interviewers

Do not push solutions to the coding exercise as it is a public repository.