Date: Fri, 9 May 2014 21:26:28 +0000 From: "Walker, Myron" <myron.walker@isilon.com> To: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org> Subject: Adding Python Wrapper for ATF Message-ID: <D9C937B7A398944F8492054F93E3D07020C26DA6@MX103CL02.corp.emc.com>
next in thread | raw e-mail | index | archive | help
I have created a python wrapper atfpy-sh that will act as an atf program and wrap a python module that contains unittest test cases. I have included a zip of the wrapper script and the man page for it. I believe it will be very efficient to create python unittest test cases and debug them in an full IDE environment like eclipse and PyDev on any linux or unix desktop system against shared libraries that are common between operating systems. Then just add them to the FreeBSD source tree as ATF wrapped tests once they are fully operational tests. See the attached zip for the atfpy-sh script, manpage, and an example unittest python module. I was putting it under contrib/atf/atfpy-sh and adding a Makefile under usr.bin/atf/atfpy-sh to copy atfpy-sh to /usr/bin. Then just stick the test file in a folder under /user/tests, modify the Kyuafile for the folder and it should work. I think this would make a great addition to ATF. I would really like to be able to use it. Thanks, Myron
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D9C937B7A398944F8492054F93E3D07020C26DA6>
