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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Unit testing tool in d365fo

(0) ShareShare
ReportReport
Posted on by 30

Hi,

Is there any tool available in D365fo for Unit testing? Suppose we do some customizations on reports or forms etc...

Before deliver for testing,I wants to check myself. Is there any tool available?

Please give me more shed on this 

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    236,285 Most Valuable Professional on at
    RE: Unit testing tool in d365fo

    That's again a question that you could have answered by yourself by using a search engine and finding the appropriate documentation page.

    I did it for you again; here is the page: Testing and validations. Reading it is up to you.

  • Blue Wang Profile Picture
    on at
    RE: Unit testing tool in d365fo

    Hi @rn@p,

    As Martin mentioned,  you can use SysTest framework.

    You can also learn about Acceptance test library (ATL):docs.microsoft.com/.../acceptance-test-library

    ATL should be used mostly for data setup and validation in integration and component tests. However, in some cases, it's also used for unit tests.

    community.dynamics.com/.../guidelines-for-tests

  • @rp@n Profile Picture
    30 on at
    RE: Unit testing tool in d365fo

    Blue,

    SysTestFramework can we use for testing any kind of reports or form customizations?

    Or is there any specific condition to test?

    Please give me more shed on this

  • Blue Wang Profile Picture
    on at
    RE: Unit testing tool in d365fo

    Hi @rp@n,

    What do you mean "form customizations?"  Add change to standard code or no code?

    What kind of specific requirements you have, or what kind of logic you want to test, up to you, but sometimes the cost of unit testing may be greater than your purpose.

  • @rp@n Profile Picture
    30 on at
    RE: Unit testing tool in d365fo

    My question is simple, I am asking suppose mostly we are customized objects based on the customer requirements.

    Any customizations which I have done, possible to test through Sys Test Framework? Before deliver to unit testing.

    I want yo test myself from the developer side.

    I hope you are understand now

  • Blue Wang Profile Picture
    on at
    RE: Unit testing tool in d365fo

    Hi @rp@n,

    You can unit test your individual methods or classes, and you can code from the developer's perspective.

  • @rp@n Profile Picture
    30 on at
    RE: Unit testing tool in d365fo

    What do you mean by individual method?

    Is it form methods,  table method or class method?

    Please give me more shed on this

  • Blue Wang Profile Picture
    on at
    RE: Unit testing tool in d365fo

    Hi @rp@n,

    I mean a single method in each class.

    I find this resource, you will get more information.

    www.axug.com/.../DownloadDocumentFile.ashx

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,177

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 860 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 593 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans