[Dev] C test runner?

William Martinez wmartinez at avantica.net
Sat May 12 15:48:36 PDT 2007


Hi.

C Language may be supported by using JNI. We can either 
create a simple Java unit test that calls a specific DLL 
that in turn calls the C code. The DLL would then be a 
wrapper that exposes the same functions as the C API, in 
that way the Java Agent developer can call the same API as 
if calling directly C.

William.

On Sat, 12 May 2007 11:53:41 -0700
  Frank Cohen <fcohen at pushtotest.com> wrote:
> Hi William: FYI, I expect we will be doing a bunch of 
>these overtime.  What do you think? -Frank
> 
> 
> 
> Hi Pierre: We're going to release a "feature complete" 
>version of  PushToTest TestMaker Version 5 next week that 
>has a new Test Scenario  system for running tests. The 
>syntax looks like this:
> 
> <test>
>   <run name="doinginsert" 
>testclass="com.examples.example"
>    method="sqrt" langtype="java"/>
> </test>
> 
> Note the langtype attribute. PushToTest 5 has a new test 
>runner with  drivers for Java, Jython, Groovy, Ruby, 
>Rhino (JavaScript), soapui,  TestGen4Web, and the JSR 223 
>Script Engines. For instance,  langtype="groovy" would 
>run a test written in Groovy.
> 
> We would be glad to add an additional driver to make a 
>call to a C  library called through a DLL.
> 
> Would you please tell me more about your intended use to 
>help us  define the DLL interface better. For instance, 
>will you be passing  attributes to the DLL? What is the 
>return value for a successful run  of the C library?
> 
> -Frank
> 
> 
> 
> 
> On May 12, 2007, at 12:35 AM, Pierre Laboureau wrote:
> 
>> Hi,
>>
>> PushToTest can run nominally load tests with some 
>>protocols like  
>> HTTP, SOAP, ... I know that pushtotest can work with 
>>others Java  
>> APIs to stress an environment throughout others 
>>protocols.
>>
>> But can Jython load C libraries without Java interfaces 
>>? I think  
>> about an use-case whrere I will have to stress 
>>throuthout "owner  
>> protocol" by using the software provider's C API
>>
>> Pierre.
>> _______________________________________________
>> Users mailing list
>> Users at lists.pushtotest.com
>> http://lists.pushtotest.com/mailman/listinfo/users
> 
> 
> 
> --
>Frank Cohen, PushToTest, http://www.PushToTest.com, phone 
>408 374 7426
> TestMaker: The open-source SOA test automation tool
> 
> 
> 
> 
> 
> --
>Frank Cohen, PushToTest, http://www.PushToTest.com, phone 
>408 374 7426
> TestMaker: The open-source SOA test automation tool
> 
> 
> 
> _______________________________________________
> Dev mailing list
> Dev at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/dev



More information about the Dev mailing list