This is a demo application for showing how RSpec and Ruby can be used to test applications in other languages. In this case, we are testing a simple server written in Go. The project includes:
The Go server. It responds to /ping with a message of pong
Represent the Ruby dependencies. Dependencies can be installed via gem install bundler; bundle install
The RSpec configuration, including starting and stopping the Go server
Contains the code to spawn the Go server in a new process, and to kill that same process
Contains the sample spec testing the Go server
Runs the Go server. Here are the instructions for installing Go
Runs the tests.
Contains a copy of the MIT License (MIT) under which this repo is licensed