Run Unit Tests

Using this repository we’ll help you get up to speed with basic functionality such as: compiling, testing and building Docker images.

This project uses Node Js to build an application which will eventually become a distributable Docker image. You can use the freestyle step to execute a series of shell commands. The most common use case is to run unit tests on your code.

Looking around

In the root of this repository you’ll find a file named codefresh.yml, this is our build descriptor and it describes the different steps that comprise our process. Let’s quickly review the contents of this file.


version: '1.0'
    image: node:5
    working_directory: ${{main_clone}}
      - npm install gulp -g 
      - npm install
      - gulp unit_test

Just head over to the example repository in Github and follow the instructions there.