Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.
/ ruby-xunit Public archive

Following Chapter 18 (page 91) of 'Test Driven Development: By Example'

License

Notifications You must be signed in to change notification settings

ronanduddy/ruby-xunit

Repository files navigation

Ruby xUnit

This is a toy project illustrating the concepts onlined in Beck's Test Driven Development: By Example. Here I follow chapter 18 (page 91) to implement 'a tool for test-driven devlopment'. The architecture of this tool is based on xUnit. I have implemented the tool or test framework in Ruby, however the example Beck shows in his book is written in Python.

Usage

To run the tests against the code in lib/

make run

Development

After checking out the repo, to SSH into the docker conatainer run

make shell

Next, it will be possible to run the test suite simply as

ruby test/test_case_test.rb

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ronanduddy/ruby-xunit. Please read CODE_OF_CONDUCT.md for details on our code of conduct.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Kent Beck