Community Profile

photo

Andy Campbell

Last seen: 3 days ago Active since 2013

Statistics

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

View badges

Content Feed

Published


Han Solo Revisited
A long time ago in a blog post far, far away… Andy wrote about Han Solo Encapsulation – to keep Jabba’s “system working as...

2 months ago

Thumbnail

Published


Building Blocks
My people! Oh how I have missed you. It has been such a long time since we have talked about some developer workflow...

4 months ago

Thumbnail

Published


Failure is the first step to trying
The official guidance on test-driven development is to follow the red-green-refactor cycle:... read more >>

10 months ago

Thumbnail

Published


You’ve Got Mail
Let’s send some emails!Imagine you write a function that sends an email to a customer. Your initial function call might look...

11 months ago

Thumbnail

Answered
MATLAB App Testing - Confirmation dialog boxes
Until this functionality is included in the App Testing Framework, if you can adjust the architecture of the source code you can...

1 year ago | 0

| accepted

Published


Do you feel lucky, punk?
I'm part of the MathWorks consulting team based in the UK specialising in software architecture and testing (Andy's posted...

1 year ago

Thumbnail

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

2 years ago

Thumbnail

Published


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

4 years ago

Thumbnail

Load more