Réponse apportée
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...

presque 9 ans il y a | 0

Réponse apportée
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...

environ 9 ans il y a | 0

Réponse apportée
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...

environ 9 ans il y a | 0

| A accepté

Publié le


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...

environ 9 ans il y a

Thumbnail

Publié le


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...

environ 9 ans il y a

Thumbnail

Réponse apportée
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...

environ 9 ans il y a | 1

| A accepté

Publié le


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

environ 9 ans il y a

Thumbnail

Réponse apportée
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...

environ 9 ans il y a | 0

Publié le


…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...

environ 9 ans il y a

Thumbnail

Publié le


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...

environ 9 ans il y a

Thumbnail

Publié le


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...

plus de 9 ans il y a

Thumbnail

Réponse apportée
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 ...

plus de 9 ans il y a | 1

Publié le


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...

plus de 9 ans il y a

Thumbnail

Publié le


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...

plus de 9 ans il y a

Thumbnail

Publié le


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

plus de 9 ans il y a

Thumbnail

Publié le


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...

plus de 9 ans il y a

Thumbnail

Publié le


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

plus de 9 ans il y a

Thumbnail

Réponse apportée
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...

plus de 9 ans il y a | 3

Publié le


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...

plus de 9 ans il y a

Thumbnail

Publié le


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...

plus de 9 ans il y a

Thumbnail

Publié le


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...

plus de 9 ans il y a

Thumbnail

Publié le


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...

presque 10 ans il y a

Thumbnail

Publié le


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...

presque 10 ans il y a

Thumbnail

Réponse apportée
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...

presque 10 ans il y a | 1

Publié le


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

presque 10 ans il y a

Thumbnail

Publié le


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

presque 10 ans il y a

Thumbnail

Réponse apportée
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...

presque 10 ans il y a | 0

Chaîne


Andy's Test Channel

environ 10 ans il y a

Publié le


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

environ 10 ans il y a

Thumbnail

Réponse apportée
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...

environ 10 ans il y a | 1

| A accepté

Charger plus