Bugs and tweaks
Run buttons
The Run button will now run the currently selected script and all scripts after it. This helps workaround the fact that you cannot catch errors that kill the program. I've found it useful when you go to run all your tests but one script blows up somewhere in the middle of the list. You can continue testing the rest to find out if you have anymore issues without having to do them one at a time.
A new button was added next to the dropdown that will only run the selected script.
Strict Type Checking with Float/Integer
I removed the strict type checking when comparing Floats and Integers. Since it really doesn't matter if you compare 1 with 1.0 and 1.1 does not equal 1 I removed it. It will print out a warning whenever you do a comparison of a Float and an Integer but it no longer fails the test.
No more end_test
when yielding
In a stroke of genius (or lack or foresight) I realized that Gut could detect the end of a yield
whenever an assertion was made. Now, as long as you use one of the assert methods or pending after a yield
, you don't have to call end_test
. You still can, it won't hurt anything, but you don't have to.
Various bug fixes.
If I did this right, the bugs fixed should be listed somewhere through the magic of Github. If not, then I'll add a list here.