comp.lang.ada
 help / color / mirror / Atom feed
From: Matteo Bertini <matteob@naufraghi.net>
Subject: Ada-Python inter-language testing
Date: Mon, 17 Jan 2005 12:21:33 GMT
Date: 2005-01-17T12:21:33+00:00	[thread overview]
Message-ID: <h5OGd.8116$GU.279866@twister1.libero.it> (raw)

I'm doing some coding for an Ada-Python bridge to decouple test-code 
from ada-code.

The idea is:

(A) Have some Ada code to test.

(B) Write down an Ada package exporting procedures and functions in a C 
compatible way.

(C) Write a Pyrex[1] (Python[2] like language for making C modules) 
bridge to access Ada exported procedures and functions.

(D) Write unit-testing in Python, being free to add/remove/change 
test-cases without recompiling and with a lot of introspection features.


Considering that the point (B) is error prone and time consuming, could 
ever someone in the real world need something like this?

[1] http://nz.cosc.canterbury.ac.nz/~greg/python/Pyrex/
[2] http://www.python.org

Matteo Bertini



             reply	other threads:[~2005-01-17 12:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-17 12:21 Matteo Bertini [this message]
2005-01-17 13:32 ` Ada-Python inter-language testing Martin Krischik
2005-01-17 19:11 ` Stephen Leake
2005-01-17 21:09 ` Simon Wright
2005-01-18  9:15   ` Matteo Bertini
2005-01-18 21:37     ` Jerome Hugues
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox