Skip to content

Commit f7ccc52

Browse files
authored
Merge pull request #37 from intersystems/EmbeddedPython
Embedded Python Coverage Support
2 parents d93cab3 + 05300c6 commit f7ccc52

17 files changed

+792
-109
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.2.0] - Unreleased
9+
10+
### Added
11+
- #29: Track code coverage for embedded python methods in .cls files
12+
- #42: Added a listener interface and manager with an associated user parameter, allowing the user to broadcast output on test method/case/suite completion.
813

914
## [3.1.1] - 2024-07-31
1015

cls/TestCoverage/Data/CodeSubUnit.cls

+6-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ Property Mask As TestCoverage.DataType.Bitstring;
99
/// Cyclomatic complexity of the code subunit
1010
Property Complexity As %Integer [ InitialExpression = 1 ];
1111

12+
/// 1 if it's a python class method, 0 if not
13+
Property IsPythonMethod As %Boolean;
14+
1215
Method UpdateComplexity() As %Status
1316
{
1417
Quit $$$OK
@@ -26,6 +29,9 @@ Storage Default
2629
<Value name="3">
2730
<Value>Complexity</Value>
2831
</Value>
32+
<Value name="4">
33+
<Value>IsPythonMethod</Value>
34+
</Value>
2935
</Data>
3036
<DataLocation>{%%PARENT}("SubUnits")</DataLocation>
3137
<DefaultData>CodeSubUnitDefaultData</DefaultData>
@@ -36,4 +42,3 @@ Storage Default
3642
}
3743

3844
}
39-

0 commit comments

Comments
 (0)