microsoft / microsoft/AL

Run-TestsInBcContainer does not run any test after RAD publish

Open
#7,227 10 comments 0 reactions 1 assignee View on GitHub

@freddydk is already working on this.

Since Oct 10, 2022.

input-needed RAD requires-triage
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.

image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.