Community Profile

photo

Andy Campbell


MathWorks

137 total contributions since 2013

I am an engineer with the MathWorks who is very interested in test-focused software development methodologies.

My opinions are my own and do not reflect those of MathWorks.

http://blogs.mathworks.com/developer/

Contact

Andy Campbell's Badges

  • 3 Month Streak
  • Revival Level 2
  • Knowledgeable Level 3
  • First Answer
  • Solver

View details...

Contributions in
View by

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

18 days ago | 1

| accepted

Published


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

27 days ago

Thumbnail

Published


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

1 month ago

Thumbnail

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

2 months ago | 1

Published


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

2 months ago

Thumbnail

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

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

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

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

5 months ago

Thumbnail

Published


Just Keep Swimming
Remember Dory?... read more >>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1 year ago

Thumbnail

Solved


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

1 year 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.... read more &gt;&gt;

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

1 year ago

Thumbnail

Load more