Answered
Good examples for projects with unittests?
Hi Andreas, Here are a couple things to get you started: * The test framework <https://www.mathworks.com/help/matlab/matla...

9 years ago | 0

Answered
How to create a plugin that stores the exception from a failing test
This is probably a dup of <http://www.mathworks.com/matlabcentral/answers/108592#answer_127796 this question> as per isakson poi...

9 years ago | 0

Answered
Can I set unit test TestParameter properties using functions not on the path?
Hey Matt, The problem at play here is the fact that your test class definition itself (what happens the first time you load t...

9 years ago | 0

| accepted

Published


Best Practices – Adapt, then Adopt!
Hi everyone, I hope that you all had a nice holiday season and that your new year is off to a great start. Amy is here...

9 years ago

Thumbnail

Published


Give Them a Care Package
As a nice follow up to last post, I'd like to introduce you to Amy Koh, who is a technical consultant in...

9 years ago

Thumbnail

Answered
Is there a way share TestParameter and ClassSetupParameter properties of unit test class?
Hi Yvan, it sounds like you simply need access to the same parameters in a TestClassSetup as you do in one or more of your te...

9 years ago | 1

| accepted

Published


Operationalizing MATLAB
Operationalizing MATLABIn this post, I'll describe how to operationalize MATLAB. By "operationalize" I mean taking MATLAB...

9 years ago

Thumbnail

Answered
How to save results of a Class-Based Unittest without ToFile Plugin?
As Sean alludes to in his comment, I think the best exxperience will be if you are able to upgrade to a newer release that has T...

9 years ago | 0

Published


…and Yet Another Way to Consume the Secret Sauce
Here is Stephen Carter once again to describe an exciting feature in R2016b for test result analysis, reporting, and...

9 years ago

Thumbnail

Published


Additional Ways to Consume the Secret Sauce
For today's blog entry I'd like to introduce Stephen Carter. Stephen is an engineer on the MATLAB Test Frameworks team and...

9 years ago

Thumbnail

Published


Passing the Test
Last time we saw that the new version 13 YAML output can provide a richer CI system experience because the diagnostics are...

9 years ago

Thumbnail

Answered
Folder structure for matlab unit tests
This is something that is highly subjective and many people will have many varied opinions. I have found over the years that no ...

9 years ago | 1

Published


Turn on the YAML Channel!
Diagnostics. They are the secret sauce of an effective test framework and we certainly take our job seriously at providing...

9 years ago

Thumbnail

Published


Throwback Thursday: Remembering the olden times
You may have heard some buzz lately about how MATLAB Central is celebrating its quinceaƱera. Indeed the event is worth a...

9 years ago

Thumbnail

Published


Encapsulated Sugar
Han Solo was a good guy. He was however unfortunate at times....

9 years ago

Thumbnail

Published


Build a product, build a service
MATLAB, with its large collection of domain specific toolboxes, provides much more than a powerful environment for users to...

9 years ago

Thumbnail

Published


Trending Now!
Today it is my pleasure to introduce my MathWorks colleague Anoush Najarian. Anoush is an engineering manager on the MATLAB...

9 years ago

Thumbnail

Answered
rmdir frequently fails with the 'MATLAB:RMDIR:SomeDirectoriesNotRemoved' error
Have you tried using the <http://www.mathworks.com/help/matlab/ref/matlab.unittest.fixtures.temporaryfolderfixture-class.html Te...

9 years ago | 3

Published


Small Fibs Eventually Become Large Fibs – Another exercise in scaling
OK, I had way too much fun writing that last blog post exploring algorithmic scaling. I want to explore this a bit more with...

9 years ago

Thumbnail

Published


Performance Review Criteria 3: Scales to the task
To scale or not to scale. That is the question. When talking about algorithmic complexity, the answer to said question is...

9 years ago

Thumbnail

Published


Performance Review Criteria 2: Sticks to Solid Principles
We saw last time how we can use the performance testing framework to easily see the runtime differences between multiple...

9 years ago

Thumbnail

Published


Performance Review Criteria 1: Peer Comparison
Have you ever wondered how to compare the relative speed of two snippets of MATLAB code? Who am I kidding? Of course, we all...

9 years ago

Thumbnail

Published


Time for your Performance Review
There are so many cool features in 2016a. Live Scripts are huge. The App Designer is a game changer. The language and...

9 years ago

Thumbnail

Answered
Creating an array of structs and using the field directly?
Do you need it to be a one liner? If not: s = [struct('field',1) struct('field',2)]; a = {s.field}; Otherwise you...

9 years ago | 1

Published


Dependency, Injected
Now that we have conquered inversion of control, we can explore a common application of the technique, dependency injection....

9 years ago

Thumbnail

Published


Invert Your Inner Control Freak!
Arvind's recent posts have had me thinking. While the spellchecker he outlines is really just for illustrative purposes,...

10 years ago

Thumbnail

Answered
matlab.unittest.testcase not found on path
This does seem like an installation problem. A couple things to try: 1. Look for TestCase >> which -all matlab.unittest.T...

10 years ago | 0

Channel


Andy's Test Channel

10 years ago

Published


Making code usable, useful and testable
Writing MATLAB code is seductively easy. Polishing the functionality of algorithmic MATLAB code to make it usable, useful...

10 years ago

Thumbnail

Answered
Execution rules of SharedTestFixtures for complex dependencies
Hi Ilya, Great question! First the guiding principle is that shared test fixtures first value robustness/correctness, and sec...

10 years ago | 1

| accepted

Load more