Answered
How to save a property inside unittest for various methods?
Hi Nicolas, It is by design that each test method is its own independent instance. This is done to help ensure order independ...

12 years ago | 3

Answered
Data driven Unit Tests
Hi Stephen, You may be able to achieve this using a common test as a base class that has an Abstract property or an abstract ...

12 years ago | 1

| accepted

Answered
Regression testing code that takes user input via the input() function
Hi Chad, I am glad that the framework is working well for you! Currently in order to use a mock/stub/fake/spy for a functi...

12 years ago | 3

| accepted

Answered
Trouble running the unit test example
Hi Gabe, I think you may have a different runtests function higher on the path. Can you confirm this? >> which -all runt...

12 years ago | 3

| accepted

Answered
Is it possible to create a function handle to a class property set method?
Hi Adam, To answer your direct question a set method is not something that you can create an anonymous function to. However, ...

12 years ago | 3

| accepted

Answered
A GUI to the new Unit Testing Framework
There is no separate GUI for the unit test framework other than the main MATLAB GUI, although you can easily run a single test u...

12 years ago | 0

| accepted

Answered
MATLAB xUnit Test Framework: handling error()
Hi Mick, When you say you are using the xUnit Test Framework are you referring to Steve Eddins' <http://www.mathworks.com/mat...

12 years ago | 0