I've been looking at the BitHoist source code and considering changing it. Before I start changing BitHoist, I wanted to have some way of testing the changed source code so it would work as before.
I have created 307 test cases. I have created a test program to run and to verify the test cases are working as before.
I know that I have not covered all error situations with various input options like -w. I do not feel I know enough about the -offset option, to generate all test cases.
One limitation is if you move BitHoist to a new folder, you will get errors in several of the test cases.
I wrote the testing program in Python -- a powerful programming language. Python does a great amount of getting things done verses the effort to learn.
run all test cases:
bithoist-test.py
run and generate a revised set of test cases with current output:
bithoist-test.py -c
help:
bithoist-test.py -h
See ReadMe.txt for test case file format.
Robert
Bookmarks