Who 's also using the BCPT Suite and noticed some strange behavior?
This is a simple test, Insert 100 records.
codeunit 50502 "LoadLedgerLockTable" { SingleInstance = true; trigger OnRun() begin If not IsInitialized or true then begin InitRun(); IsInitialized := true; end; CreateLedgerEntries(); end; var BCPTTestContext: Codeunit "BCPT Test Context"; IsInitialized: Boolean; local procedure InitRun() var begin end; local procedure CreateLedgerEntries() var LedgerEntryLockTable: Record LedgerEntryLockTable; Counter: Integer; begin for Counter := 1 to 100 do begin BCPTTestContext.StartScenario('Add Ledger Locktable'); LedgerEntryLockTable.Init(); LedgerEntryLockTable.Insert(true); Commit(); BCPTTestContext.EndScenario('Add Ledger Locktable'); BCPTTestContext.UserWait(); end; end; }
Next step, configure a Test Suite
Add the the correct codeunit
So far so good... let's summarize.
Run Codeunit in 10 sessions. At this moment we don't have a base.
I hit start and I wait... first of all, The screen doesn't get refreshed (so you don't know when the run is finished)
Base version stays 0, version goes to 1
If you want to see the "Log Entries" of session 1 (in fact 0), you get nothing
Since the filter users "version No. = 1. I don't think this is ok? This should be the active "Version No."
If you run the test multiple times, the fields don't get filled in on the BCPT Suite Lines, so you can't compare againts you base run.
I'm a bit confused here...
Hello,
We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.
dynamicsuser.net/.../developers
I will open this up to the community in case they have something to add.
Thanks.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,802 Super User 2024 Season 2
Martin Dráb 229,133 Most Valuable Professional
nmaenpaa 101,154