Community Profile

photo

Andy Campbell

Last seen: en dag 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


We’ve All Got Issues
Who among us doesn't have issues, amirite? Let's just take a moment and acknowledge this fact and I think we can always...

3 månader ago

Thumbnail

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

6 månader 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...

8 månader 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 >>

ungefär ett år 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...

ungefär ett år 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...

mer än ett år 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...

nästan 2 år 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...

ungefär 2 år ago

Thumbnail

Published


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

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

nästan 3 år 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!...

nästan 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

nästan 4 år 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...

nästan 4 år 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.......

ungefär 4 år 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/ ...

ungefär 4 år 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...

ungefär 4 år 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...

ungefär 4 år 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...

mer än 4 år ago | 1

Load more