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


Dependency-based Test Selection
This is the final part in my series on MATLAB Test where we’ll look at how to select tests based on files they depend on....

5 månader ago

Thumbnail

Published


Equivalence Testing
This is part 4 in my series on MATLAB Test in which we’ll look at the new equivalence testing functionality it provides for...

5 månader ago

Thumbnail

Published


Measuring and Monitoring Code Quality
This is the third instalment in my series on MATLAB Test. My previous posts introduced MATLAB Test and the Test Manager and...

6 månader ago

Thumbnail

Published


We’ve got you covered!
In the previous blog post of this series, I gave an overview of MATLAB Test and went into the details of the Test Manager....

7 månader ago

Thumbnail

Published


Introducing MATLAB Test!
MATLAB R2023a was released back in March, and with it was a new product MATLAB Test. In a series of blog posts starting...

8 månader ago

Thumbnail

Solved


Check for armstrong number
Given a number, check if it is an armstrong number. Eg: n = 371 Output: 1 Eg: n = 75 Output: 0

8 månader ago

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

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

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

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

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

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

Thumbnail

Published


An Ode to Configuration as Code
...

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

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

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

mer än 4 år ago

Thumbnail

Load more