rubberduck-vba / Rubberduck

Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
https://rubberduckvba.com
GNU General Public License v3.0
1.91k stars 299 forks source link

Test Explorer show no tests. #5917

Closed Deedolith closed 2 years ago

Deedolith commented 2 years ago

Rubberduck version information The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:

Version 2.5.2.6027 OS: Microsoft Windows NT 10.0.19043.0, x64 Host Product: Microsoft Office 2013 x64 Host Version: 15.0.5349.1000 Host Executable: MSACCESS.EXE

Description Within the Test Explorer window, after adding a Test Module, nothing new show up in the Test Explorer window. The "ducks" loading trails keep showing forever.

To Reproduce Steps to reproduce the behavior:

  1. Go to the RubberDuck menu
  2. Click on RubberDuck ==> Unit Tests ==> Test Explorer
  3. Go to the Test Explorer window
  4. Click on Add ==> Test Module
  5. Go to The Code Explorer window
  6. Double click on the newly created TestModule1
  7. Go to the Test Explorer window
  8. Click on Add ==> Test Method

Expected behavior A new line holding tests informations should show up in the Test Window

Screenshots image

Logfile RubberduckLog.txt

Additional context Behavior observer within both MS Access and MS Excel (2013).

BZngr commented 2 years ago

FWIW - I could not reproduce this issue following the steps described above (Excel host). It behaved as intended, so ATM this appears to be an intermittent failure.

From the graphic, it looks like the issue was observed on the first TestMethod added to the first TestModule...so I tried that scenario, again with success. And, finally...I went thru the steps when the project was in a 'non-compilable' state. Still worked as expected.

Deedolith commented 2 years ago

Guess it comes from my Office vesrion, I did not experience the same behavior with Office 2016.