web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Codeunit Assert is not reachable

(0) ShareShare
ReportReport
Posted on by

Hey guys,

I am creating a test codeunit and in that I would like to use the standard codeunit "Assert" like Microsoft does it here:

Unbenannt.PNG

I developed my own extension, created in VSC a dependency to it and downloaded the symbols. I installed the test toolkit, so what is missing?

Do you have any ideas?

Categories:
  • Suggested answer
    Mohsin Abbas Profile Picture
    525 on at

    I faced the same issue for all test-tool related codeunits and in the end I found out that my test toolkit wasn't somehow properly installed. Try a fresh installation with test-toolkit included and see if you can use Assert codeunit there.

    Let me know if any further help is required.

  • Community Member Profile Picture
    on at

    Hey Mohsin, the solution was to add the property "test" with the version 13.0.0.0 to my app.json-file. In the same way like you do this for platform and application.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans