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...