Respondida
Can you specify which value TestParameter properties take in a class-based unit performance test?
Hello Jai, Yes you can create the suite using the name of the indidivual test directly, or use other name/value pairs to sele...

casi 6 años hace | 0

Respondida
Is there a good pattern to combine unit testing and performance testing?
Hi Andrew, Sorry for such a delay! If you have 18a or later you can leverage labeled measurement boundaries to get both measu...

casi 6 años hace | 0

Publicado


Storing Parameters in AWS using MATLAB
In a previous blog post, Notifications from MATLAB, I showed how Amazon's Notification system (AWS SNS) can be used from...

alrededor de 6 años hace

Thumbnail

Respondida
Is there an easy way to build a test suite from all tests in a folder containing multiple packages?
Hi Brian, I definitely endorse Sean's suggestion to use projects. That said, this is good feedback since it seems you expecte...

alrededor de 6 años hace | 1

| aceptada

Respondida
verifyError in a script based unit test
Hello, Since there is no testCase provided for script based tests, they don't support the Qualification API, and that definitel...

alrededor de 6 años hace | 2

| aceptada

Respondida
Using Load in a test methods makes the test pass
Hi Erik, The problem here is indeed the fact that the testCase is getting overwritten. Hence why if you assign the output of th...

alrededor de 6 años hace | 1

Publicado


Notifications from MATLAB
Waiting for a computer or cluster to finish a task is about as exciting as watching paint dry. XKCD even has a comic about...

alrededor de 6 años hace

Thumbnail

Publicado


A quick dip in the lake
As summer vacation comes to an end and schools get back into session, I hope that you, the reader, enjoyed the fine weather...

más de 6 años hace

Thumbnail

Publicado


MATLAB Speaks C++
Hi everyone! Today I'd like to introduce a guest blogger, Vivek Bhownani, who is the lead developer for an exciting new...

más de 6 años hace

Thumbnail

Publicado


MATLAB and Blob Storage
As a continuation from my previous post, this post discusses the use of the MATLAB interface for Azure™ Storage Blob.......

más de 6 años hace

Thumbnail

Respondida
Unit Testing : Figures
Does the approach outlined here work for your case? https://blogs.mathworks.com/developer/2018/07/30/semi-automated-testing/ ...

más de 6 años hace | 1

| aceptada

Publicado


The bucket list
While we are talking about buckets, it makes sense for me to introduce you to another type of bucket. This one contains...

casi 7 años hace

Thumbnail

Publicado


Kick the Buckets
OK, quick follow up to last post. Having a parameterized build is great, but it presents us with one problem. I can...

casi 7 años hace

Thumbnail

Respondida
Replacing NaNs with zero in a matrix within a cell array.
The fillmissing function is built for this, you just need to use cellfun since each of these doubles are included in the cell ar...

casi 7 años hace | 1

Publicado


Buckets of Builds
Buckets. Sometimes it rains buckets. Other times we are challenged with ice buckets. When it comes to my code, tests, and...

casi 7 años hace

Thumbnail

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

casi 7 años hace | 0

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

casi 7 años hace | 0

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

alrededor de 7 años hace | 0

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

alrededor de 7 años hace | 3

| aceptada

Publicado


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

alrededor de 7 años hace

Thumbnail

Publicado


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

alrededor de 7 años hace

Thumbnail

Publicado


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

más de 7 años hace

Thumbnail

Publicado


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

más de 7 años hace

Thumbnail

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

más de 7 años hace | 0

| aceptada

Publicado


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

más de 7 años hace

Thumbnail

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

más de 7 años hace | 0

| aceptada

Publicado


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

más de 7 años hace

Thumbnail

Publicado


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

más de 7 años hace

Thumbnail

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

más de 7 años hace | 0

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

más de 7 años hace | 2

Cargar más