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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Test Explorer can't see any tests

(2) ShareShare
ReportReport
Posted on by 27
 
Hi,
 
Test Explorer don't find any test
Categories:
I have the same question (0)
  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at
    Moved from Integration, Dataverse, and general topics forum to Finance | Project Operations, Human Resources, AX, GP, SL forum, because your screenshot shows F&O.
     
    Make sure that your class extends SysTestCase.
     
    Sometimes Test Explorer struggles finding tests even if they're all correct. Restarting VS and rebuilding the solution might help.
  • FL-23080601-0 Profile Picture
    27 on at
    Thank you, but already done multiple restart, checked class extends SysTestCase 
     
     
    Does anybody have succesfully use SysTestCase ? I used it on AX and this working like a charm, but in D365 FO nothing to do ! it don't !
     
     
     
  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at
    It works fine for me. For example, this is what I'm doing at the moment:
     
  • FL-23080601-0 Profile Picture
    27 on at
    Thank you for your answer.
     
    So I don't understand why this not working. I'm using Visual Studio 2022 and don't have any idea why this don't work.
     
    Surely you don't do any specific configuration or installation package ?
     
    😮‍💨
  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at
    Nothing special should be needed. Unfortunately, I don't know why it doesn't work for you. In past, I also ran into the situation when Test Explorer sometimes failed to find any tests. Sometimes it worked, sometimes not. Unfortunately, I don't have any reliable solution. All I can suggest is trying a few things like building the whole model and running VS as an administrator - and hoping that some of them will make a difference.
  • FL-23080601-0 Profile Picture
    27 on at
    Thank you for your help.
     
    Unfortunatly I've already check Administrator mode and full rebuild model many many times...
     
    I think completly incredible that Microsoft can get it more robust and working  🙄 
  • FL-23080601-0 Profile Picture
    27 on at
    @Microsoft 365 Dynamics Can you answer this please ? 
  • Jonas "Jones" Melgaard Profile Picture
    4,926 Most Valuable Professional on at
    I just had a quick play with the test explorer, and I initially had the same issue as you. However snapping the test explorer in the VS window fixed it for me. This is the latest VHD developer environment downloaded from LCS. Have you tried this?
     
     
    Also, if you copy the example straight from Microsoft's testing and validation article, do you still have issues?
  • FL-23080601-0 Profile Picture
    27 on at
    Thank you very much. I will try the LCS update to see 🤔
  • Jonas "Jones" Melgaard Profile Picture
    4,926 Most Valuable Professional on at
    At least it's worth a try, just to rule out if it's not something with your development environment.
    I forgot to ask, are you using a UDE environment for development?

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans