Answered
Storing results from unit tests for later review
Based on the comments above, it sounds like you may want to try an approach simialr to the one outlined in this blog post: ht...

4 years ago | 0

Answered
Create test runner from cell array of function handles and arguments and overwrite failure summary text
I may be missing something, but this seems like something you don't need to do at all. Rather I would suggest using Assumptions ...

4 years ago | 0

Answered
Exception Safety and Incremental Teardown for Unit Tests
There is a blog post that describes the addTeardown method and some of its benefits over other methods of managing test and test...

4 years ago | 0

Answered
Should I rather write scripts for tests and use the runtests function or define test classes which inherit from the matlab.unittest.TestCase class?
Hi David, Tests can be written as scripts, functions or classes, and which interface you use depends on your preference and com...

4 years ago | 2

| accepted

Published


Reporting for Duty
Hello all! I was reading up on Guy's blog the other day and remembered his great post showing a Simulink Test workflow with...

4 years ago

Thumbnail

Published


Just Keep Swimming
Remember Dory? Image Credit: Silvio Tanaka [ CC BY 2.0 ], via Wikimedia CommonsThe model of persistence in the face of...

4 years ago

Thumbnail

Published


Comma Separated Goodness
Hi folks, today I'd like to introduce ChangQing Wang. ChangQing is the lead developer on MATLAB's performance framework, and...

4 years ago

Thumbnail

Published


Git to the Lab!
Hello everyone, for this post, I'd like to introduce Mariano Lizarraga Fernandez as a guest blogger. He has a great story to...

4 years ago

Thumbnail

Answered
TAP results do not show up during execution time, if a TestClassSetup is present
This was also asked and answered on stack overflow: https://stackoverflow.com/questions/51760637/tap-results-do-not-show-up-d...

4 years ago | 0

| accepted

Published


Semi-Automated Testing
I've been doing a bit of spelunking around the File Exchange and GitHub lately, and I've seen a little pattern emerge in the...

4 years ago

Thumbnail

Answered
How to change unittest console log
Hi Jack, You can do this by using the struct syntax to define the parameters, which allows you to give a label to the paramet...

4 years ago | 0

| accepted

Published


Running MATLAB in the Cloud with Reference Architectures
The incredible growth and adoption of cloud based services make it an exciting time to be working at MathWorks with its rich...

5 years ago

Thumbnail

Published


MEX Debugging. Redefined.
Folks, today I'd like to introduce a new guest blogger Martijn Aben. Martijn is a support engineer out of our Netherlands...

5 years ago

Thumbnail

Answered
how to import package for several tests in unittest framework?
Hi Jack, This is currently a limitation in the MATLAB language, which restricts the import scope to functions and methods. Th...

5 years ago | 0

Answered
Can I run unit tests in the MCR?
Hi Bob, The test framework doesn't require the use or even presence of the command window. By default using runtests much of ...

5 years ago | 2

Published


App Exercise
Happy Friday! Today I'd like to introduce to you Steve McClure. Steve is the lead developer for the new App Testing...

5 years ago

Thumbnail

Published


Cov’ed Code All Throughout the Interwebs
You may remember that MATLAB can generate code coverage information in the Cobertura format now. Been able to since R2017b....

5 years ago

Thumbnail

Answered
Error while running the script based Unit Tests
Hi Dipesh, The example you are referring to applies to more recent versions of MATLAB. R2014b was the first release in MATLAB...

5 years ago | 0

| accepted

Answered
Unit test with several data sets
Hello Maia, It sounds like you may be interested in leveraging <https://www.mathworks.com/help/matlab/matlab_prog/create-basi...

5 years ago | 0

| accepted

Published


Flex your Specs
Wow folks, its been a long time! I feel like I am an old friend returning from traveling on a long epic adventure. Just call...

5 years ago

Thumbnail

Published


Leveraging cloud capabilities from MATLAB
My day job involves using MATLAB analytics at the heart of big, powerful solution stacks both on the Cloud and running...

5 years ago

Thumbnail

Published


The Gift of Property Cheer
Well, it's that time of year, Christmas, Hanukkah, Kwanzaa, Ramadan, Winter Solstice, or you know.......Friday. You deserve...

5 years ago

Thumbnail

Solved


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

5 years ago

Published


Hola to the developers in Spain
If you are in Madrid, Spain at the Big Data Spain conference, please do come and visit us at booth #8. We have some...

5 years ago

Thumbnail

Published


Driving Productivity … Without Losing Control
Hi all, today I'd like to turn the time over to Matt Tearle from our Training Services group who has a great story to share...

5 years ago

Thumbnail

Published


We’ve Got You Covered
Coverage. It's all good. Health care coverage is good. Cell phone coverage is good. Even cloud coverage can provide a nice...

5 years ago

Thumbnail

Answered
How is the execution order defined between multiple tests within matlab.unittest.TestCase.run?
Hi William, The order is not guaranteed by design. This is so that the tests can follow the principle of <http://xunitpattern...

5 years ago | 1

Published


The (Build) Matrix Laboratory
Ah the joys of a new release! R2017b is now out and packed with some great new features. So here I go, heading out to an...

5 years ago

Thumbnail

Answered
Executing function inside script-based unit test?
Hi Nick, I might be missing something here, but you just execute the function from within your script based test. Does your f...

5 years ago | 0

Published


Packaging Pitfalls
Hello readers, today we have another post from Amy, who is here to share more of her valuable experience deploying...

5 years ago

Thumbnail

Load more