Run-TestsInBcContainer does not run any test after RAD publish
@freddydk is already working on this.
Since Oct 10, 2022.
- Dominant language
- PowerShell
- Stars
- 881
- Forks
- 285
- Avg merge
- 3d 36m
- Merged PRs (30d)
- 1
Description
I do use Run-TestsInBcContainer to run my tests from powershell.
When I publish my test app using Ctrl+F5, all works fine. It find tests and excutes them.
Immediately, after running my tests, I republish my solution using RAD (Alt+F5). Then, if I execute Run-TestsInBcContainer, it does not do anything, seems like it does not find any tests to run.
I check AL Test Tool (page 130451), it's completely empty there. But, if I try to 'get test codeunits', I can select my codeunits and add them.

I'm using this command to run tests
Run-TestsInBcContainer -containerName base -companyName 'TNM Automated Test' -tenant default -credential (Get-StoredCredential gps) -extensionId "0c451cb7-84c8-4171-9a79-98c7f201ec6a"
I'm using BcContainerHelper version 4.0.5
I'm not sure if it's an issue with AL (RAD) or bccontainerhelper issue. If, you need more info, please let me know.
Best Regards,
Gintautas
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.