You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[AI Test Tool] Add Multi-Turn Accuracy & Export (#2419)
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
This PR adds multi-turn accuracy for tests and export option for
results.
Accuracy is automatically calculated as the number of turns succeeded /
the total number of turns. Accuracy is available on Suite level,
codeunit level and test level.
Accuracy can also be set by the test manually, using the new SetAccuracy
function in the AIT Test Context.
Export of results is available on the Log Entries page (exports current
view) or Suite (exports results for latest version)
#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#557118](https://dynamicssmb2.visualstudio.com/Dynamics%20SMB/_workitems/edit/548277/)
Copy file name to clipboardexpand all lines: src/Tools/AI Test Toolkit/src/Logs/AITLogEntry.Table.al
+15
Original file line number
Diff line number
Diff line change
@@ -159,6 +159,21 @@ table 149034 "AIT Log Entry"
159
159
{
160
160
Caption = 'Output Data';
161
161
}
162
+
field(40; "No. of Turns"; Integer)
163
+
{
164
+
Caption = 'Total number of turns';
165
+
ToolTip = 'Specifies the total number of turns.';
166
+
}
167
+
field(41; "No. of Turns Passed"; Integer)
168
+
{
169
+
Caption = 'Number of turns passed';
170
+
ToolTip = 'Specifies the number of turns passed.';
171
+
}
172
+
field(45; "Test Method Line Accuracy"; Decimal)
173
+
{
174
+
Caption = 'Test Method Line Accuracy';
175
+
ToolTip = 'Specifies the accuracy of the test line. The accuracy is calculated as the percentage of turns that passed or can be set manually in the test.';
0 commit comments