Menu

TestTwo / News: Recent posts

Windows Again

Whoops seems I uploaded the wrong file yesterday...

Version History:
v0.031:
-Fixed a bug with being able to to enable the gcc option in the native Windows cli
-Fixed a minor bug in the parsing of the injection hash
v0.03:
-Added basic injection of test cases directly into Matlab cli.
-Thus, it now requires the matlab-ruby library, but only if you are using Matlab-
related functions. So, it shouldn't present a problem if not.
(http://matlab-ruby.rubyforge.org/matlab-ruby/)
-Apparently, session inject is the norm with the Matlab/C libs, so there's no need to
start a new Matlab session for each test set, nor to store each of them
-Now can invoke the injection fucntion from the shell (as opposed to just the internal
cli)
-Fixed a bug in setting verbose on/off from the shell (would always be on unless storing
to file)
-Can now run external Matlab scripts (really trivial, but does make it less anoying)
-Fixed a bug in handling the case that the matlab-ruby library is not installed
-Deprecated the export function; can now only directly inject to Matlab
v0.02:
-Now has the option to randomly generate and output float values when permuting a range
-From the cli can now output to txt file copy-paste-able-to-Matlab arrays
v0.01:
-Now compiles and works exactly as (better than?) its predecessor Allpairs.
-Improved the sorting of parameters by number of values so it always works.
-Simplified the scoring data structures (scorestrings->scoreints) in findnext()
so that it's now just a simple integer array.
-Added ability to use embedded bash script to run the program associated with
the parameters of which corollaries are parsing the combinations into a bash
compatible array of arrays and making sure that the system HAS bash, gcc, gcov
and lcov.
-Added storing the combinations of parameter values to both a tab-delimited text file
and a csv file.
-Object-orientized the code
-Added verbosity option (always on if no output specified
-Added multiple file and option input at program call
-Added basic cli in the case that no input is specified as above
-Added enumerated output file specification
-Separated the cli and the test case generator into different classes
-Reimplemented the bash script to take modifiable command line options
TODO:
-Document the code!!!
-Review structures more thoroughly and prettify the code (for real)
-Allow selection of test set to inject into Matlab (maybe)
-Parse arguments from shell better (e.g. don't require quotes for multipart flags)
-Improve exception handling (e.g. when incorrect input is given)

Posted by Patrick Eads 2010-08-06

Bug Fix for Windows

Version History:
v0.031:
-Fixed a bug with being able to to enable the gcc option in the native Windows cli
v0.03:
-Added basic injection of test cases directly into Matlab cli.
-Thus, it now requires the matlab-ruby library, but only if you are using Matlab-
related functions. So, it shouldn't present a problem if not.
(http://matlab-ruby.rubyforge.org/matlab-ruby/)
-Apparently, session inject is the norm with the Matlab/C libs, so there's no need to
start a new Matlab session for each test set, nor to store each of them
-Now can invoke the injection fucntion from the shell (as opposed to just the internal
cli)
-Fixed a bug in setting verbose on/off from the shell (would always be on unless storing
to file)
-Can now run external Matlab scripts (really trivial, but does make it less anoying)
-Fixed a bug in handling the case that the matlab-ruby library is not installed
-Deprecated the export function; can now only directly inject to Matlab
v0.02:
-Now has the option to randomly generate and output float values when permuting a range
-From the cli can now output to txt file copy-paste-able-to-Matlab arrays
v0.01:
-Now compiles and works exactly as (better than?) its predecessor Allpairs.
-Improved the sorting of parameters by number of values so it always works.
-Simplified the scoring data structures (scorestrings->scoreints) in findnext()
so that it's now just a simple integer array.
-Added ability to use embedded bash script to run the program associated with
the parameters of which corollaries are parsing the combinations into a bash
compatible array of arrays and making sure that the system HAS bash, gcc, gcov
and lcov.
-Added storing the combinations of parameter values to both a tab-delimited text file
and a csv file.
-Object-orientized the code
-Added verbosity option (always on if no output specified
-Added multiple file and option input at program call
-Added basic cli in the case that no input is specified as above
-Added enumerated output file specification
-Separated the cli and the test case generator into different classes
-Reimplemented the bash script to take modifiable command line options
TODO:
-Document the code!!!
-Review structures more thoroughly and prettify the code (for real)
-Allow selection of test set to inject into Matlab (maybe)
-Parse arguments from shell better (e.g. don't require quotes for multipart flags)
-Improve exception handling (e.g. when incorrect input is given)

Posted by Patrick Eads 2010-08-05

Screenshots uploaded...

Some screenshots of TestTwo in action have been uploaded to the similarly named section, and for better resolution, also as a zip.

The test_data folder has been removed since it is incorporated into the current release's zip file.

Posted by Patrick Eads 2010-08-05

Testing/Comments

It would be appreciated if anyone who's using the program at this stage gives a bit of feedback on their experience. This can include anything from bugs and issues to feature requests.

Posted by Patrick Eads 2010-08-03

Final Alpha Version 0.03!

In addition to the changes below, there's also a patch and instructions on how to install matlab-ruby under cygwin.

Version History:
v0.03:
-Added basic injection of test cases directly into Matlab cli.
-Thus, it now requires the matlab-ruby library, but only if you are using Matlab-
related functions. So, it shouldn't present a problem if not.
(http://matlab-ruby.rubyforge.org/matlab-ruby/)
-Apparently, session inject is the norm with the Matlab/C libs, so there's no need to
start a new Matlab session for each test set, nor to store each of them
-Now can invoke the injection fucntion from the shell (as opposed to just the internal
cli)
-Fixed a bug in setting verbose on/off from the shell (would always be on unless storing
to file)
-Can now run external Matlab scripts (really trivial, but does make it less anoying)
-Fixed a bug in handling the case that the matlab-ruby library is not installed
-Deprecated the export function; can now only directly inject to Matlab
v0.02:
-Now has the option to randomly generate and output float values when permuting a range
-From the cli can now output to txt file copy-paste-able-to-Matlab arrays
v0.01:
-Now compiles and works exactly as (better than?) its predecessor Allpairs.
-Improved the sorting of parameters by number of values so it always works.
-Simplified the scoring data structures (scorestrings->scoreints) in findnext()
so that it's now just a simple integer array.
-Added ability to use embedded bash script to run the program associated with
the parameters of which corollaries are parsing the combinations into a bash
compatible array of arrays and making sure that the system HAS bash, gcc, gcov
and lcov.
-Added storing the combinations of parameter values to both a tab-delimited text file
and a csv file.
-Object-orientized the code
-Added verbosity option (always on if no output specified
-Added multiple file and option input at program call
-Added basic cli in the case that no input is specified as above
-Added enumerated output file specification
-Separated the cli and the test case generator into different classes
-Reimplemented the bash script to take modifiable command line options ... read more

Posted by Patrick Eads 2010-07-30

matlab-ruby

The Now...
The prelimnary version allowing session injection to a matlab workspace has been completed. matlab-ruby is really awesome.
It will be released as soon as the kinks are worked out. It's also a bit hack-n-slash to get it to work in cygwin, but I patched it so it glides right on. Of course, if you use Matlab in Linux, you'll have no issues, but I have to go with the status quo at the company.... read more

Posted by Patrick Eads 2010-07-27

Newest Release Notes

Version History:
v0.02:
-Now has the option to randomly generate and output float values when permuting a range
-From the cli can now output to txt file copy-paste-able to Matlab as arrays
v0.01:
-Now compiles and works exactly as (better than?) its predecessor Allpairs.
-Improved the sorting of parameters by number of values so it always works.
-Simplified the scoring data structures (scorestrings->scoreints) in findnext()
so that it's now just a simple integer array.
-Added ability to use embedded bash script to run the program associated with
the parameters of which corollaries are parsing the combinations into a bash
compatible array of arrays and making sure that the system HAS bash, gcc, gcov
and lcov.
-Added storing the combinations of parameter values to both a tab-delimited text file
and a csv file.
-Object-orientized the code
-Added verbosity option (always on if no output specified
-Added multiple file and option input at program call
-Added basic cli in the case that no input is specified as above
-Added enumerated output file specification
-Separated the cli and the test case generator into different classes
-Reimplemented the bash script to take modifiable command line options
TODO:
-Document the code.
-Review structures more thoroughly and prettify the code (for real)
-See if matlab-ruby library can be used, or if it can be modified for our purposes
-Improve taking arguments from the shell

Posted by Patrick Eads 2010-07-23

First "release!"

I've just uploaded the first release candidate. Sorry that it was about a month late.

Notes: The bash portion of the code is removed since that is original work not inherited from Bach's program; it may resurface soon, but it shouldn't be too hard to figure out how it worked.

Posted by Patrick Eads 2010-07-09