Community Profile

photo

Andy Campbell


Last seen: Today

MathWorks

156 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

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

View details...

Contributions in
View by

Published


Coming around full Circle
CI services in the cloud. They are beautiful. All you need to do is drop a little bit o' yaml in your repository and a whole...

3 months ago

Thumbnail

Published


An Ode to Configuration as Code
... read more >>

4 months ago

Thumbnail

Published


The Gift of Service(s)
Welp, it's the holidays! Whether you celebrate Christmas, Hanukah, Kwanzaa, Festivus, or, you know, Tuesday, I certainly...

6 months ago

Thumbnail

Published


All your (data)base are belong to us
Today I'd like to introduce first time blog contributor Tim Johns. Tim is a consultant in our UK office who has a wealth of...

7 months ago

Thumbnail

Answered
How to pass additional data to testresults of unittest inside testmethod of matlab.unittest.TestCase in 2019b
Hi Florian, The ability to write a plugin that can append to the test result details was added in R2020a and is documented here...

7 months ago | 1

| accepted

Published


Pluggin it in with Jenkins
Now that we have MATLAB projects self-describing how they can be tested, let me get after what I hinted at last post . In...

8 months ago

Thumbnail

Published


Testing out projects a bit more
So now you know a bit about projects . You can see how they enable you to create a standard environmental setup so that you...

10 months ago

Thumbnail

Published


Project Yourself!
Hello everyone. It has been quite a long time since we've posted anything in this forum. It's not for lack of topics though!...

1 year ago

Thumbnail

Answered
How to call a function if unit test fails?
Hi there, If you really want to stay in a script based test, the best way to do this would to be to use a try-catch %% Unit te...

1 year ago | 2

| accepted

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

1 year ago | 0

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

1 year ago | 0

Published


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

1 year ago

Thumbnail

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

1 year ago | 1

| accepted

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

1 year ago | 2

| accepted

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

1 year ago | 1

Published


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

1 year ago

Thumbnail

Published


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

2 years ago

Thumbnail

Published


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

2 years ago

Thumbnail

Published


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

2 years ago

Thumbnail

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

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

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

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

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

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

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

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

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

2 years ago

Thumbnail

Load more