Announcement
Collapse
No announcement yet.
Component Testing Tool
Collapse
X
-
The PowerBASIC Windows compilers only generate Win32 EXE and DLLs. You may need a third party solution, although it is quite easy to call a Win32 DLL directly from .NET.
-
In that case if you provide me with a location, I'll upload an example
Leave a comment:
-
Originally posted by Ahmad Zaman View Post...you lack understanding of some core technologies...
Leave a comment:
-
Component Testing Tool
If you don't understand me then that suggests you lack understanding of some core technologies (apologies if that sounds 'demeaning' - it wasn't meant to be). The simplest way of explaning myself is by uploading a simple C#.Net example - you'll have a better understanding when you actually see the technology architecture and workflow
Leave a comment:
-
Originally posted by Ahmad Zaman View PostNormally the tester writes a tester .Net dll
Leave a comment:
-
Component Testing Tool
Normally the tester writes a tester .Net dll (containing lots of testcases) that references the .net dll under test. The tester .Net dll is then loaded into an NUnit session and run, with each testcase either passing or failiing.
1. Is it possible to create a .Net dll using Powerbasic (I know its possible to produce a normal windows dll)?
2. I want to test a windows service written in Powerbasic. I may need to seperate the business logic and dump that into a .net dll (and test that using NUnit), leaving the windows service as a 'facade' to the .net dll. However I would like to avoid such a convoluted process and directly test the Windows Service. Is that possible?
Leave a comment:
-
I don't understand how closely the ~unit application interacts with the unit under test, does it get compiled in? Could you use Cunit, as PB can "do" C calling conventions?
Leave a comment:
-
Component Testing Tool
Hi,
I am planning component level testing for some WinPowerBasic apps and I was wondering if there were any tools available for it (akin to NUnit etc etc)
Thanks in Advance.
Regards,
AhmadTags: None
Leave a comment: