Re: Regression Testing

Irmen de Jong <[email protected]>
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17-5-2012 13:03, prabhu p wrote:
> Hi All,
> 
> I would like to use Pyro for my embedded Automation testing.
> 
> Can anybody please suggest me, Whether is it possible to use Pyro for embedded
> automation testing.
> 
> The client is my Machine(Windows XP) connected with embedded device(QNX-RTOS).
> 
> I would like to run some test cases from my machine to validate some services
> which runs only in C on the target machine. My intention is write test cases in
> python and will call C API on server/Target side.

I know very little about QNX but I think getting Python on there could be problematic.
You'll need to have Python 2.6+ running on the QNX device and interface to the C API
from there. Why? Because Pyro can only talk to Python.

(The older version of Pyro, 3.x, also works with Python 2.5)

If you don't have a suitable Python version on the QNX device you're out of luck.
Maybe a better option then is to use something like XML-RPC or JSON-RPC (or perhaps
even basic HTTP via a web server, to trigger your tests on the device). These are very
easy to call from Python, and I'm guessing there's C/C++ libraries for those on QNX.


Irmen


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPtOTEAAoJEHC9o7RHFlf2hKEH/A8W7GsFaP4TiRLJk578RvY1
GB/jipeSV3lfUet1hyj7aMlhA8LfisBiZtJDZdQZO686XSxVlvIVhsGT3TDNwiEk
QBfKm8KoinKh8kyUYGgd/xV1xO2HRqsUY+HolmbINqgYm71OxNEiQVrKtZAm9oMK
sHf1DJyyDx5NskNnGwX/nV5XLOn9Potpbd+zi938NesUbkrQGCsfCYarBL3d3zJL
GcdeKDyr5h6OiFvBOE0wziaomRCilZkc21C7q1vX5dYEKVzNZHatunB/ggjQw67u
/R0RLJtLaeU84k8XlfUOi6Q1NUzXw6DiVZP83KwVlIlECIxs2mcAGpCwaMVI3g4=
=nU7s
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.