Skip to content

mumuki/mumuki-xgobstones-runner

Repository files navigation

Stories in Ready Build Status Code Climate Test Coverage

mumuki-xgobstones-runner

Sinatra runner for validating xGobstones tests within Mumuki

#Prerequisites Install rbenv:

You can install rbenv following the instructions of this Link

#Setup Open the Terminal Console, located in this project's directory, run the following commands:

bundle install

In order to install repository's submodules:

git submodule update --init --recursive

#RUN TESTS

Note: When running tests you may recieve a Warning like this one:

"[2015-07-16T11:03:48.197981 #2823] INFO -- : Not reporting to Code Climate because ENV'CODECLIMATE_REPO_TOKEN'] is not set."

Don't worry about that, it doesn't mean that test is not working.

If you want to run tests by console you can do the following steps: Open the Terminal console and inside the Project's directory run the following commands:

bundle exec rspec 

(that should run the expectation tests)

Also you can all the tests running the following command:

bundle exec rake 

If you want to run the test using rubymine just look for the "spec" folder inside mumuki-xgobstones-runner project, right click on the prevously mention folder and click on "Run all Specs..." option.

If you have done the steps correctly both ways of running test should do it successfully.

About

Sinatra server for validating XGobstones programs within Mumuki

Resources

License

Stars

Watchers

Forks

Packages

No packages published