S
Suraj N. Kurapati
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
How can I use rcov from an already running Ruby program?
I'm running a Ruby interpreter that is embedded within a C program.
This situation is the inverse of how rcov is presently used: rcov is
used to run *.rb files instead of ruby.
So, I want to be able to write something like "require
'rcov/runner'" and have rcov do it do its thing on the currently
running Ruby program. This is like running unit tests by simply
doing "require 'test/unit'" (which has a Kernel#at_exit statement
that runs all the tests before the program terminates).
Thanks for your consideration.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFE++CYmV9O7RYnKMcRAtDEAJ47xWPou9UKhk7JWgQuypnFGxFnOQCgsrOB
kdBiWljhTRfJe6pZB/BhqvM=
=KQjU
-----END PGP SIGNATURE-----
Hash: SHA1
Hello,
How can I use rcov from an already running Ruby program?
I'm running a Ruby interpreter that is embedded within a C program.
This situation is the inverse of how rcov is presently used: rcov is
used to run *.rb files instead of ruby.
So, I want to be able to write something like "require
'rcov/runner'" and have rcov do it do its thing on the currently
running Ruby program. This is like running unit tests by simply
doing "require 'test/unit'" (which has a Kernel#at_exit statement
that runs all the tests before the program terminates).
Thanks for your consideration.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFE++CYmV9O7RYnKMcRAtDEAJ47xWPou9UKhk7JWgQuypnFGxFnOQCgsrOB
kdBiWljhTRfJe6pZB/BhqvM=
=KQjU
-----END PGP SIGNATURE-----