Activity for SimplyVBUnit

  • saad saad posted a comment on discussion Help

    Hello, I'm using SimplyVbUnit 5.0.4, and I was able to see the tests and run them, but something happened I'm no longer able to see the tests even if I have many tests available. Have you an idea about that?

  • Stuart Young Stuart Young posted a comment on discussion Open Discussion

    When the test "Assert.AreNotEqual 1, 1" is attempted the error message contains the text Expected: not 1 But was : Empty This behaviour is also seen if tests Assert.AreNotEqualFloats or Assert.AreNotEqualStrings are used. I've traced this back to EqualConstraint.Matches. mActual is only populated when mComparer.Equals(mExpected, Actual) = False. The fix is to always call "VariantCopyInd mActual, Actual" at the start of EqualConstraint.Matches. Has anyone noticed this and if so do you have a different...

  • Kelly Ethridge Kelly Ethridge posted a comment on discussion Open Discussion

    Hello, Sorry, I never pursued this ability. I'm sure it can be done since the framework exposes hooks throughout the testing process. However, it isnt' something I will be looking in to.

  • Simon Caldwell Simon Caldwell posted a comment on discussion Open Discussion

    I know it's a long time ago but did you ever work out how to do this?

  • SimplyVBUnit SimplyVBUnit released /SimplyVBUnitSetup-5.0.4.exe

  • SimplyVBUnit SimplyVBUnit released /SimplyVBUnitSetup-5.0.3.exe

  • SimplyVBUnit SimplyVBUnit released /SimplyVBUnitSetup-5.0.2.exe

  • SimplyVBUnit SimplyVBUnit released /SimplyVBUnitSetup-5.0.1.exe

  • Kelly Ethridge Kelly Ethridge posted a comment on discussion Help

    Hello, I suspect you don't have the error-trapping setting in your VB IDE set correctly. Here is the wiki page describing it

  • Dariusz Pelka Dariusz Pelka posted a comment on discussion Help

    When I run tests from example folder I am getting an error runtime 5 for unit test which fail and I am forced to Debug. Anyone can help on this please?

  • SimplyVBUnit SimplyVBUnit released /Older Files/SimplyVBUnitSrcv1_1.zip

  • SimplyVBUnit SimplyVBUnit released /Older Files/SimplyVBUnit_Src_v1_4_0.zip

  • SimplyVBUnit SimplyVBUnit released /Older Files/SimplyVBUnit_Src_v2_0.zip

  • SimplyVBUnit SimplyVBUnit released /Older Files/SimplyVBUnit_Src_3_0.zip

  • SimplyVBUnit SimplyVBUnit released /SimplyVBUnitSetup-5.0.exe

  • Zoran Zoran posted a comment on discussion Help

    Thank you very much for your quick support. Yes, now it works as desired.

  • Kelly Ethridge Kelly Ethridge posted a comment on discussion Open Discussion

    SimplyVBUnit is only a unit-testing framework. It provides the ability to run your defined tests and allows you to perform assertions on expected results within the tests. It doesn't facilitate any connections with services. If you want your tests to connect to services, SimplyVBUnit does not prevent that, but you'll have to connect to your services yourself.

  • Kelly Ethridge Kelly Ethridge posted a comment on discussion Help

    You were on the right track. Here is how to add test cases like you want. Private Sub ITestFixture_GetTestCases(ByVal Test As SimplyVBComp.TestFixtureBuilder) Test.Add("TestCase1").Use "arg" Test.Add("TestCase2").Use "arg" Test.Add("TestCase3").Use "arg" Test.Add("TestCase4").Use "arg" End Sub It's very similar to the ITestCaseSource implementation.

  • Zoran Zoran modified a comment on discussion Help

    I appreciate it very, that you provide support to this community. Thank you! Here's a quick overview of my current project structure: Given DLL to be tested (from production code base). Only the public accessable functions will be tested. This DLL is referenced to my SimplyVBUnit Projekt. So the SimplyVBUnit Project can call those public functions within unit tests. So far so good. SimplyVBUnit.vbp --Forms ----frmTestRunner.frm --Classes ----cls_Test_A.cls ----cls_Test_A_With_Parameter.cls cls_Test_.cls...

  • Zoran Zoran modified a comment on discussion Help

    I appreciate it very, that you provide support to this community. Thank you! Here's a quick overview of my current project structure: Given DLL to be tested (from production code base). Only the public accessable functions will be tested. This DLL is referenced to my SimplyVBUnit Projekt. So the SimplyVBUnit Project can call those public functions within unit tests. So far so good. SimplyVBUnit.vbp -Forms --frmTestRunner.frm -Classes --cls_Test_A.cls --cls_Test_A_With_Parameter.cls cls_Test_.cls...

  • Zoran Zoran posted a comment on discussion Help

    I appreciate it very, that you provide support to this community. Thank you! Here's a quick overview of my current project structure: Given DLL to be tested (from production code base). Only the public accessable functions will be tested. This DLL is referenced to my SimplyVBUnit Projekt. So the SimplyVBUnit Project can call those public functions within unit tests. So far so good. SimplyVBUnit.vbp |_Forms |_frmTestRunner.frm |_Classes |_cls_Test_A.cls |_cls_Test_A_With_Parameter.cls cls_Test_.cls...

  • Ajesh SR Ajesh SR posted a comment on discussion Open Discussion

    We are working on a VB6 application for which most the actions are performed on the remote server by connecting to the Db and fecthing the details. Could someone please assist us if SimplyVBunit supports connectivty? and if yes what all connectivites does it support. Please do provide the links (if any) for reference.

  • Kelly Ethridge Kelly Ethridge posted a comment on discussion Help

    Hi Zoran, SimplyVBUnit descovers tests within a class by querying the COM interface. When running in the IDE the IDE gives all classes a public interface within that context and so SimplyVBUnit can find the methods. Unfortunately, once an EXE is compiled all classes are turned private and even though you manually add an instance of the test classes in the form_load event, the methods are private, so SimplyVBUnit cannot descover them. There are no easy options if you're trying to keep everything in...

  • Zoran Zoran posted a comment on discussion Help

    Just added to my initial post some screenshots for better understanding.

  • Zoran Zoran modified a comment on discussion Help

    Hello, just installed latest version 4.1.6 of SimlyVBUnit. Running my tests directly from the Visual Basic 6 IDE everything is fine. After creating a binary of my project and running the .exe-file, in the TestRunner UI the tests are not available. Any ideas to that problem?!!

  • Zoran Zoran posted a comment on discussion Help

    Hello, just installed latest version 4.6.1 of SimlyVBUnit. Running my tests directly from the Visual Basic 6 IDE everything is fine. After creating a binary of my project and running the .exe-file, in the TestRunner UI the tests are not available. Any ideas to that problem?!!

  • Ryan Peterson Ryan Peterson posted a comment on discussion Help

    Thanks for getting back to me. Not sure why but I didn't have a TemplatesDirectory value in the registry after installation of VB6 so not a big surprise that the SimplyVB templates didn't get dropped to the expected locations. Did a quick scan of the other keys throughout the ..\Visual Basic\6.0 node in the hive and there were no hits for a TemplatesDirectory value. Manually copying the files over did the trick for me though.

  • Kelly Ethridge Kelly Ethridge posted a comment on discussion Help

    Hello, When installing VB6 the location of the projects template folder is stored in the registery. This is where I pull it from at this registry key: HKCU\Software\Microsoft\Visual Basic\6.0 -> value:TemplatesDirectory. I'm thinking maybe there is a security issue with either accessing the registery entry or writing to the templates folder. I've done several installs on Windows 10 with UAC set to the default and have never had an issue. The other possibility might be that the template location is...

  • Ryan Peterson Ryan Peterson posted a comment on discussion Help

    I'm not seeing the project template listed in the New Project form. I don't see any files under C:\Program Files (x86)\Microsoft Visual Studio\VB98\Template\Projects beyond those installed with VB6. I've tried a rebooting as well and no change.

  • Kelly Ethridge Kelly Ethridge posted a comment on discussion Help

    Hello, SimplyVBUnit is under the MIT open source license. Basically you can use it...

  • Ajesh SR Ajesh SR posted a comment on discussion Help

    Hi, can any one tell Is simplyvbunit tool is a licenced product? if it i then how...

  • Ajesh SR Ajesh SR posted a comment on discussion Help

    Hi , I am interested to use Simplyvbunit tool, and I have following doubts Is this...

  • eiredrake eiredrake posted a comment on discussion Help

    Tinkering with this, I was able to delete my VBG file and create a new one and then...

  • eiredrake eiredrake posted a comment on discussion Help

    I realize this is a very old post but I just came across this exact problem myself....

  • Jaiganesh Jaiganesh posted a comment on discussion Help

    Function LoginToServer() As Integer Dim status As Integer Dim DatabaseName As String...

  • Jeffrey Palun Jeffrey Palun posted a comment on discussion Open Discussion

    I am looking to extend the current test runner. Currently it takes user intervention...

  • Jeffrey Palun Jeffrey Palun posted a comment on discussion Open Discussion

    VB6 .exe Unit Tests Walkthrough Normally this tool is used for testing projects that...

  • Kelly Ethridge Kelly Ethridge committed [r248]

    chore(all): set version number.

  • Andy Creigh Andy Creigh modified a comment on discussion Help

    Hi all, I'm getting this issue too. After having everything working ok for a few...

  • Andy Creigh Andy Creigh posted a comment on discussion Help

    Hi all, I'm getting this issue too. After having everything working ok for a few...

  • Kelly Ethridge Kelly Ethridge created a blog post

    version 4.1.6 has been released!

  • SimplyVBUnit SimplyVBUnit released /SimplyVBUnit/SimplyVBUnitSetup-4.1.6.exe

  • Kelly Ethridge Kelly Ethridge committed [r247]

    Shortend display of strings parameter values in...

  • Kelly Ethridge Kelly Ethridge committed [r246]

    Limited the display length of string values for...

  • Sérgio Amorim Sérgio Amorim posted a comment on discussion Help

    Same problem also, but on a windows xp 32b In my case I copied from C:\Program Files\SimplyVBUnit...

  • Kelly Ethridge Kelly Ethridge posted a comment on discussion Help

    Hello, I never wrote a command line test runner as indicated by this thread. Basically...

  • Jison Jose Jison Jose posted a comment on discussion Help

    Hi Kelly, I was a bit confused with this thread (https://sourceforge.net/p/simplyvbunit/discussion/415411/thread/4856977d)...

  • Jison Jose Jison Jose posted a comment on discussion Open Discussion

    ThanK You Kelly!

  • Kelly Ethridge Kelly Ethridge posted a comment on discussion Open Discussion

    Hello Jison, No, SimplyVBUnit does not perform any code coverage. Performing coverage...

  • Jison Jose Jison Jose posted a comment on discussion Open Discussion

    Hi, Does SimplyVBUnit support code coverage? Regards, Jison.

  • SimplyVBUnit SimplyVBUnit released /SimplyVBUnit/SimplyVBUnitSetup-4.1.5.exe

  • Kelly Ethridge Kelly Ethridge committed [r245]

    Updated install script.

  • Kelly Ethridge Kelly Ethridge committed [r244]

    Added better failure point information to impro...

  • Kelly Ethridge Kelly Ethridge posted a comment on discussion Help

    There is a wiki here that you can check out to see how to get going. You can always...

  • tannaz tannaz posted a comment on discussion Help

    Dear Kelly, I'm new in testing and I don't know how to create my own test classes?...

  • tannaz tannaz posted a comment on discussion Help

    Thank you Kelly.

  • Kelly Ethridge Kelly Ethridge posted a comment on discussion Help

    Hello tannaz, Since you are using the frmTestRunner you shouldn't have a reference...

  • tannaz tannaz posted a comment on discussion Help

    Hi there, I already have an standard EXE project. 1) I nstalled SimplyVBunit 4.1.4...

  • Kelly Ethridge Kelly Ethridge modified a blog post

    Version 4.1 has been released!

  • Kelly Ethridge Kelly Ethridge committed [r243]

    Failed to update dll and ocx version number to ...

  • SimplyVBUnit SimplyVBUnit released /SimplyVBUnit/SimplyVBUnitSetup-4.1.4.exe

  • Kelly Ethridge Kelly Ethridge committed [r242]

    Test cases with string parameters are now escap...

1