Steven - > Run(TestCase); % Call the constructor with 0 inputs, pass the result > into the Run method
Thanks for sharing this pattern. I think I was stuck on the "dot" syntax and this didn't cross my mind. Will take a look and see if this will work for our more involved operations.
> Instead of using one period as in the Static case you use two parentheses. > Unless you're MATLAB golfing[*], I'm guessing this isn't going to be a big > problem (especially since if you're running the test multiple times I think > you're probably going to rerun it using the up arrow to recall the command.) Although this could be the difference between a birdie and a bogey :) I must say that I would still prefer to an option that would allow a TestCase.Run type of syntax, as that just looks better and makes more sense to me, but you're right, its not a big problem.