• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moosetechnology / Famix-UnitTest / 15590759202

11 Jun 2025 04:47PM UTC coverage: 27.322% (-4.2%) from 31.536%
15590759202

push

github

Gabriel-Darbord
Complete mappings
And finally fix tests!?

64 of 199 new or added lines in 10 files covered. (32.16%)

614 existing lines in 23 files now uncovered.

603 of 2207 relevant lines covered (27.32%)

0.27 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

53.68
/src/Famix-UnitTest-Entities/FamixUTMethod.class.st
1
"
2
Tests a specific behavior or feature of the system under test.
3

4
## Relations
5
======================
6

7
### Parents
8
| Relation | Origin | Opposite | Type | Comment |
9
|---|
10
| `case` | `FamixUTMethod` | `methods` | `FamixUTCase` | |
11

12
### Children
13
| Relation | Origin | Opposite | Type | Comment |
14
|---|
15
| `act` | `FamixUTMethod` | `method` | `FamixUTAct` | |
16
| `assertions` | `FamixUTMethod` | `method` | `FamixUTAssertion` | |
17

18
### Other
19
| Relation | Origin | Opposite | Type | Comment |
20
|---|
21
| `setUp` | `FamixUTMethod` | `method` | `FamixUTSetUp` | |
22
| `tearDown` | `FamixUTMethod` | `method` | `FamixUTTearDown` | |
23
| `testedMethod` | `FamixUTMethod` | `unitTests` | `FamixTMethod` | |
24

25

26
## Properties
27
======================
28

29
| Name | Type | Default value | Comment |
30
|---|
31
| `name` | `String` | nil | Basic name of the entity, not full reference.|
32

33
"
34
Class {
35
        #name : 'FamixUTMethod',
36
        #superclass : 'FamixUTEntity',
37
        #traits : 'FamixTNamedEntity',
38
        #classTraits : 'FamixTNamedEntity classTrait',
39
        #instVars : [
40
                '#case => FMOne type: #FamixUTCase opposite: #methods',
41
                '#assertions => FMMany type: #FamixUTAssertion opposite: #method',
42
                '#act => FMOne type: #FamixUTAct opposite: #method',
43
                '#setUp => FMOne type: #FamixUTSetUp opposite: #method',
44
                '#tearDown => FMOne type: #FamixUTTearDown opposite: #method'
45
        ],
46
        #category : 'Famix-UnitTest-Entities-Entities',
47
        #package : 'Famix-UnitTest-Entities',
48
        #tag : 'Entities'
49
}
50

51
{ #category : 'meta' }
52
FamixUTMethod class >> annotation [
×
53

×
54
        <FMClass: #Method super: #FamixUTEntity>
×
55
        <package: #'Famix-UnitTest-Entities'>
×
56
        <generated>
×
UNCOV
57
        ^ self
×
UNCOV
58
]
×
59

60
{ #category : 'accessing' }
61
FamixUTMethod >> act [
1✔
62
        "Relation named: #act type: #FamixUTAct opposite: #method"
1✔
63

1✔
64
        <generated>
1✔
65
        ^ act
1✔
66
]
1✔
67

68
{ #category : 'accessing' }
69
FamixUTMethod >> act: anObject [
1✔
70

1✔
71
        <generated>
1✔
72
        act := anObject
1✔
73
]
1✔
74

75
{ #category : 'navigation' }
76
FamixUTMethod >> actGroup [
×
77
        <generated>
×
78
        <navigation: 'Act'>
×
UNCOV
79
        ^ MooseSpecializedGroup with: self act
×
UNCOV
80
]
×
81

82
{ #category : 'adding' }
83
FamixUTMethod >> addAssertion: anObject [
1✔
84
        <generated>
1✔
85
        ^ self assertions add: anObject
1✔
86
]
1✔
87

88
{ #category : 'accessing' }
89
FamixUTMethod >> assertions [
1✔
90
        "Relation named: #assertions type: #FamixUTAssertion opposite: #method"
1✔
91

1✔
92
        <generated>
1✔
93
        <derived>
1✔
94
        ^ assertions
1✔
95
]
1✔
96

97
{ #category : 'accessing' }
98
FamixUTMethod >> assertions: anObject [
×
99

×
100
        <generated>
×
UNCOV
101
        assertions value: anObject
×
UNCOV
102
]
×
103

104
{ #category : 'navigation' }
105
FamixUTMethod >> assertionsGroup [
×
106
        <generated>
×
107
        <navigation: 'Assertions'>
×
UNCOV
108
        ^ MooseSpecializedGroup withAll: self assertions asSet
×
UNCOV
109
]
×
110

111
{ #category : 'accessing' }
112
FamixUTMethod >> case [
×
113
        "Relation named: #case type: #FamixUTCase opposite: #methods"
×
114

×
115
        <generated>
×
116
        <container>
×
UNCOV
117
        ^ case
×
UNCOV
118
]
×
119

120
{ #category : 'accessing' }
121
FamixUTMethod >> case: anObject [
×
122

×
123
        <generated>
×
UNCOV
124
        case := anObject
×
UNCOV
125
]
×
126

127
{ #category : 'navigation' }
128
FamixUTMethod >> caseGroup [
×
129
        <generated>
×
130
        <navigation: 'Case'>
×
UNCOV
131
        ^ MooseSpecializedGroup with: self case
×
UNCOV
132
]
×
133

134
{ #category : 'accessing' }
135
FamixUTMethod >> setUp [
1✔
136
        "Relation named: #setUp type: #FamixUTSetUp opposite: #method"
1✔
137

1✔
138
        <generated>
1✔
139
        ^ setUp
1✔
140
]
1✔
141

142
{ #category : 'accessing' }
143
FamixUTMethod >> setUp: anObject [
1✔
144

1✔
145
        <generated>
1✔
146
        setUp := anObject
1✔
147
]
1✔
148

149
{ #category : 'accessing' }
150
FamixUTMethod >> tearDown [
1✔
151
        "Relation named: #tearDown type: #FamixUTTearDown opposite: #method"
1✔
152

1✔
153
        <generated>
1✔
154
        ^ tearDown
1✔
155
]
1✔
156

157
{ #category : 'accessing' }
158
FamixUTMethod >> tearDown: anObject [
×
159

×
160
        <generated>
×
UNCOV
161
        tearDown := anObject
×
UNCOV
162
]
×
163

164
{ #category : 'accessing' }
165
FamixUTMethod >> testedMethod [
1✔
166
        "Relation named: #testedMethod type: #FamixTMethod opposite: #unitTests"
1✔
167

1✔
168
        <generated>
1✔
169
        <FMProperty: #testedMethod type: #FamixTMethod opposite: #unitTests>
1✔
170
        ^ self attributeAt: #testedMethod ifAbsent: [ nil ]
1✔
171
]
1✔
172

173
{ #category : 'accessing' }
174
FamixUTMethod >> testedMethod: anObject [
1✔
175

1✔
176
        <generated>
1✔
177
        self attributeAt: #testedMethod put: (FMMultivalueLink on: self update: #unitTests from: self testedMethod to: anObject).
1✔
178
]
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc