Community Profile

photo

Andy Campbell


Last seen: 7일 전

MathWorks

151 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/

담당자

Andy Campbell's 배지

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

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
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...

22일 전 | 1

| 수락됨

게시됨


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

3달 전

Thumbnail

게시됨


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

6달 전

Thumbnail

답변 있음
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...

10달 전 | 2

| 수락됨

답변 있음
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...

11달 전 | 0

답변 있음
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...

11달 전 | 0

게시됨


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

12달 전

Thumbnail

답변 있음
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...

12달 전 | 1

| 수락됨

답변 있음
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년 전 | 2

| 수락됨

답변 있음
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년 전 | 1

게시됨


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년 전

Thumbnail

게시됨


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

1년 이상 전

Thumbnail

게시됨


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

1년 이상 전

Thumbnail

게시됨


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

1년 이상 전

Thumbnail

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

1년 이상 전 | 1

| 수락됨

게시됨


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

1년 이상 전

Thumbnail

게시됨


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년 이상 전

Thumbnail

답변 있음
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...

1년 이상 전 | 1

게시됨


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년 이하 전

Thumbnail

답변 있음
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년 이하 전 | 0

답변 있음
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년 이하 전 | 0

답변 있음
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년 이하 전 | 0

답변 있음
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년 이하 전 | 2

| 수락됨

게시됨


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년 전

Thumbnail

게시됨


Just Keep Swimming
Remember Dory? Image Credit: Silvio Tanaka [ CC BY 2.0 ], via Wikimedia CommonsThe model of persistence in the face of...

약 2년 전

Thumbnail

게시됨


Comma Separated Goodness
Hi folks, today I'd like to introduce ChangQing Wang. ChangQing is the lead developer on MATLAB's performance framework, and...

약 2년 전

Thumbnail

게시됨


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

2년 이상 전

Thumbnail

답변 있음
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...

2년 이상 전 | 0

| 수락됨

게시됨


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

2년 이상 전

Thumbnail

답변 있음
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...

2년 이상 전 | 0

| 수락됨

Load more