Skip to content

robbiemccorkell/martianrobots

Repository files navigation

#Martian Robots Build Status

Red Badger developer tech test

##Intro

This implementation is written in python and parses input from a .txt file defined as a command-line parameter. It processes the instructions in this file, and outputs the result to the terminal's standard output.

Unit tests are provided using python's built in framework unittest, and integration tests are provided by behave. Example input from the brief is provided in input.txt. All input is assumed to be valid.

##Usage

To run the program navigate to the root directory and run

python mars.py input.txt

To run the unit tests run

python -m unittest unit-tests

And to run the integration tests simply run

behave

##Requirements Requirements are listed within requirements.txt to be installed with pip

pip install -r requirements.txt

These requirements include

  • Python 2.7
  • mock - A python mocking library
  • behave - BDD integration testing for python

About

Red Badger developer tech test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages