shellfish

testing framework for holberton school's shell project

This project is maintained by johncoleman83

Shellfish

a project for:

Holberton logo

RTFM

Please look into the code before you use it! We are using sudo, so be sure you know what you are doing first! Don’t trust us; look in the code!

Synopsis

Project Shellfish is an automated task checker for Holberton School’s 0x15. C - Simple Shell project.

File Breakdown

Prerequisites

The only prerequisite is to install docker. You can have this running in your vagrant or on your local host because it uses a container, it will not mess with your system and everytime you run the tests a new container will be started so you do not have to worry about any system issues.

To install Docker, please refer to the Docker install manual for Ubuntu trusty 64: ‘Trusty 14.04 (LTS)’, linked here: https://docs.docker.com/engine/installation/linux/ubuntu/#install-using-the-repository

NOTE: Install the CE edition, not the EE edition

Use

After you have installed docker please follow the following instructions.

$ git clone https://github.com/glyif/shellfish.git
$ cd shellfish
$ docker build -t shellfish:latest .

To run the tests

$ docker run -ti --rm shellfish GITHUBUSR
# GITHUBUSR is the github user that the simple_shell is on. e.g. glyif

FOR UBUNTU USERS

You will need to run sudo in from of your docker command. IE:

$ sudo docker build -t shellfish:latest .

AND

$ sudo docker run -ti --rm shellfish GITHUBUSR

NOTE:

Expected Output & other Errors

Failed checks are output in RED, passed checks are output in GREEN. ALL errors written to stderr are output for all instances. When your shell and sh both output errors, the errors are written in grey. If your shell does not have an error, but sh does, the output is in RED, and visa versa.

Contribute:

If you would like to contribute to this project, please follow the process outlined here: https://gist.github.com/yeungegs/b18019dbf0466a523b0521bae405b066

Authors:

Julien Barbier: julien@holbertonschool.com
Bobby Yang: 122@holbertonschool.com
David John Coleman II: lcsw@davidjohncoleman.com
Elaine Yeung elaine.yeung@holbertonschool.com

License

MIT License