SimplyVBUnit icon indicating copy to clipboard operation
SimplyVBUnit copied to clipboard

No test cases found in both AssertionExamples, MovieTracker or new SimpleVBUnit Projects

Open jhack-jos opened this issue 3 years ago • 0 comments

You can find the screenshots attached. The included examples seem to fail executing the test cases, and report that no tests are inside each of the classes inside the AssertionExamples, MovieTracker or any new SimpleVBUnit Project that is build from scratch. All this while running them from the VB6 IDE with Administrative Rights and Windows XP Service Pack 2 Compatibility Mode on Windows 10.

I also tried to implement ITestFixture like it was recommended on the Sourceforge Forum for compiled executables without success. With ITestFixture you can see the test case listed, but it does not run and I get back Error 429, ActiveX cannot create the object.

Option Explicit
Implements ITestFixture

Private Sub ITestFixture_GetTestCases(ByVal Test As SimplyVBComp.TestFixtureBuilder)
Test.Add("myTest").Use "arg"
End Sub

Public Sub myTest()
    Debug.Print "This is a failing test."
    Assert.That 1, Iz.EqualTo(2), "Always fails!"
End Sub

Is there anything I can do to solve the problem? Is there any test I may help with in order to pinpoint the problem and fix the issue in new releases? Thank you for your precious support!

Screenshot of the AssertionExamples project included in the 5.0.4 release not finding any tests:

Assertion Examples not working

Screenshot of the MovieBusinessGroup project included in the 5.0.4 release not finding any tests:

MovieBusinessTests non working

jhack-jos avatar Feb 11 '22 14:02 jhack-jos