Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jhack-jos opened this issue Feb 11, 2022 · 0 comments

Comments

@jhack-jos
Copy link

jhack-jos commented Feb 11, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant