Skip to content

Commit 94daa8e

Browse files
committed
Updated YAML file and added test tags
1 parent 44c9617 commit 94daa8e

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

.github/workflows/mvc-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix:
1818

1919
# List of platforms on which to run the tests.
20-
platform: [ ubuntu-latest, windows-latest, macos-latest ]
20+
platform: [ ubuntu-latest, windows-latest ]
2121

2222
# List of MATLAB releases over which to run the tests.
2323
matlab-version: [ R2024b ]

tests/tApp.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
classdef tApp < matlab.uitest.TestCase
1+
classdef ( TestTags = ["system", "ui"] ) tApp < matlab.uitest.TestCase
22
%TAPP System-level test for the entire application.
33

44
% Copyright 2025 The MathWorks, Inc.

tests/tComponent.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
classdef ( Abstract ) tComponent < matlab.uitest.TestCase
1+
classdef ( Abstract, TestTags = "ui" ) tComponent < matlab.uitest.TestCase
22
%TCOMPONENT Common test infrastructure for views and controllers in the
33
%simple MVC application.
44

tests/tController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
classdef tController < tComponent
1+
classdef ( TestTags = ["controller", "ui"] ) tController < tComponent
22
%TCONTROLLER Controller tests.
33
%
44
% See also Controller, Model, tModel, tComponent

tests/tView.m

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
classdef tView < tComponent
1+
classdef ( TestTags = ["view", "ui"] ) tView < tComponent
22
%TVIEW View tests.
33
%
44
% See also View, Model, tModel, tComponent
55

66
% Copyright 2025 The MathWorks, Inc.
77

8-
methods ( Test )
8+
methods ( Test, TestTags = "initialValue" )
99

1010
function tViewHasEmptyDoubleDataInitially( testCase )
1111

1212
testCase.verifyThatViewLineDataIsEmptyDouble()
1313

1414
end % tViewHasEmptyDoubleDataInitially
1515

16+
end % methods ( Test, TestTags = "initialValue" )
17+
18+
methods ( Test, TestTags = "viewResponse" )
19+
1620
function tViewHasEmptyDoubleDataAfterCallingReset( testCase )
1721

1822
% Reset the model.
@@ -51,6 +55,10 @@ function tViewHasCorrectDataAfterCallingRandom( testCase )
5155

5256
end % tViewHasCorrectDataAfterCallingRandom
5357

58+
end % methods ( Test, TestTags = "viewResponse" )
59+
60+
methods ( Test, TestTags = "publicUpdate" )
61+
5462
function tUpdateAssignsPublicProperties( testCase )
5563

5664
% Generate data.
@@ -79,7 +87,7 @@ function tUpdateAssignsPublicProperties( testCase )
7987

8088
end % tUpdateAssignsPublicProperties
8189

82-
end % methods ( Test )
90+
end % methods ( Test, TestTags = "publicUpdate" )
8391

8492
methods ( Access = private )
8593

0 commit comments

Comments
 (0)