Hi Alina,
I’ve put together a sample project showcasing a full setup for automated testing and validation of Business Central extensions for AppSource submission.
It includes:
https://github.com/jeffreybulanadi/D365-BusinessCentral-Community-Solutions/tree/main/AL-Extensions/AppSourcePipelineValidation
If you find this helpful, feel free to mark my answer as verified and suggested!
Cheers,
Hi, good day
I hope this can help you, and give you some hints.
Test the advanced sample extension - Business Central | Microsoft Learn
20230612 - Real Life Experience With Test Automation - testing install code
.Automated Testing in Microsoft Dynamics 365 Business Central | Business & Other | Paperback
Best Regards
Gerardo
{
"al.enableCodeAnalysis": true,
"al.codeAnalyzers": ["${AppSourceCop}","${CodeCop}","${UICop}"],
"al.ruleSetPath": "./alrules.json",
}
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
Step | Description |
1 | Understand AppSource test requirements |
2 | Set up BC test container with test toolkit |
3 | Create a separate test app project |
4 | Write AL test codeunits using [Test] methods |
5 | Run and validate tests locally |
6 | Package .app files (main + test) |
7 | Submit to AppSource with passing tests |