GildedRose-Refactoring-Kata/c-check
2017-03-10 21:50:17 -05:00
..
.gitignore Added starting files for check unit tests 2017-03-10 19:41:06 -05:00
GildedRose.c Added C and check library version 2017-03-10 19:22:12 -05:00
GildedRose.h Added C and check library version 2017-03-10 19:22:12 -05:00
GildedRoseTextTests.c Added C and check library version 2017-03-10 19:22:12 -05:00
golden_rule.txt Added golden rule test 2017-03-10 21:13:06 -05:00
golden-rule.sh Added test against changing Item 2017-03-10 21:16:02 -05:00
Makefile Added starting files for check unit tests 2017-03-10 19:41:06 -05:00
README Updated docs, removed binaries 2017-03-10 19:51:08 -05:00
test_brie.c Added tests for aged brie 2017-03-10 21:50:17 -05:00
test_main.c Renamed to reflect actual contents 2017-03-10 21:31:09 -05:00
test_normal.c Added tests for aged brie 2017-03-10 21:50:17 -05:00

The command "make" will build and run your tests, as well as build the program
golden_rose, which can serve as the basis for a golden-rule test.


Assumptions:
  - gnu make and a C compiler (like gcc) is installed on your system and is in the PATH
  - The check unit testing library is installed on your system (https://libcheck.github.io/check/)
  - pkg-config is installed on your system

Notes:
  - This project is tweaked to run on Linux systems, and will mostly work on Macs.
    With some changes to the Makefile it can be made to run on BSD systems with
    BSD make.  An adventurous person could also get it to run on Windows.
  - If you are working on a Macintosh computer you cannot run the memtest target,
    because valgrind and OS X don't play nice any more.  If you want to use the
    memory checker OS X does run docker as a first class citizen.
  - If you don't have pkg-config on your system, the only changes you'll need to
    make are for the requirements of the check library.  Mostly you need to
    set the appropriate flags for threaded binaries, which may include some
    special linker flags.  The libcheck documentation will cover what you need
    if you want to undertake this change.