Results 1 to 8 of 8

Thread: BitHoist Test Cases and BitHoist Tester

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Fuel Injected! historystamp's Avatar
    Join Date
    Dec 2011
    Location
    USA
    Posts
    169

    BitHoist Test Cases and BitHoist Tester

    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
    Attached Files Attached Files
    Last edited by historystamp; 06-28-2012 at 05:42 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •