Comments (12)
What projects are you loading and what are you trying to accomplish?
from simplyvbunit.
from simplyvbunit.
Im trying to unit test a legacy project which compiles to a .exe file in vb6 ofcourse. But I have been trying to install the SimplyVBUnit template And getting the error which says UIRunner was not a loaded class. I found the UIRunner.ctl and UIRunner.cls files but I am unaware as to where do i load it.
Sent with GitHawk
from simplyvbunit.
Did you use the SimplyVBUnit
installer? If so, it sounds like the control is not registered. You shouldn't need to try to find UIRunner.ctl
or UIRunner.cls
for any reason other than loading the SimplyVBUnit
source code.
from simplyvbunit.
yes, I used the simplyvbunit installer.
then how do i register the control, please help. I am really very new to vb6 and your project seems exciting for unit testing.
from simplyvbunit.
OK, so if you just run VB6 to the point it shows you a set of empty projects to start from, does it include one for SimplyVBUnit
? If not, then follow this other thread for help: Missing SimplyVBUnit Project
I just realized that you want to create tests for an EXE. That is a difficult type of project to write tests for. If you're a novice with VB6 I'm unsure it's something you'd want to pursue. I don't want to discourage you from unit-testing, but, it would be a very cumbersome and maybe even impossible project to write tests for.
from simplyvbunit.
yeah i read it somewhere in the sourceforge discussion thread but it is needed, there are few forms which are actually testable so I would be importing one forms at a time and testing the important forms.
the thread that you sent in the previous one is not actually the issue here. the issue actually is :
i dont seem to find any components or references to add in the project.
from simplyvbunit.
i can select the SimplyVBUnit project template and then the error above comes up
from simplyvbunit.
hmmm OK. To register the components manually open a command prompt with Administrative privileges in the Windows\System32
folder (Windows\SysWOW64
on 64 bit machines). There should be the following files:
SimplyVBUnit.Component.ocx
SimplyVBUnit.Framework.dll
SimplyVBUnitType.tlb
you should be able to register them using:
regsvr32 SimplyVBUnit.Component.ocx
regsvr32 SimplyVBUnit.Framework.dll
regtlib SimplyVBUnitType.tlb
from simplyvbunit.
Thank you Kelly, I tried all that you suggested and even though i couldnt solve the problem, the SimplyVBUnit project being preferred along with DLL files will be a huge let down.
from simplyvbunit.
Did you simply add the frmTestRunner.frm
to an existing project? Is the SimplyVBUnit Component
component referenced in the VB6 Toolbox?
from simplyvbunit.
I imported the SimplyVbUnit.Component.ocx from the component menu and it worked, thought it'd be useful for future reference and now whether or not it'll be useful for .exe or not now it'll just work. Thank you for your time.
from simplyvbunit.
Related Issues (17)
- Project template not in New Project selector HOT 2
- the line with assert has the error "Class not registered" HOT 1
- no SimplyVBUnit project template after install of 5.0.4 HOT 10
- Project template (.vbp and .frm) should have good references
- Assertion is not catched, runtime error is shown HOT 2
- Weird permissions issue HOT 5
- Assert.AreNotEqual not reporting actual value when test failed HOT 1
- Release current source as version 5.0.5 HOT 2
- Add older releases to the repository
- No test cases found in both AssertionExamples, MovieTracker or new SimpleVBUnit Projects
- Add tags for the previous versions
- No test available in compiled exe HOT 4
- Azure release gives test run results as No test is available in D:\a\r1\a HOT 4
- asserting against a compiled object that is private is incorrectly handled
- Version 5.0.1 Released
- Version 5.0.4 Released
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplyvbunit.