Date: Tue, 17 Jan 2017 22:47:31 -0800 From: "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com> To: Alan Somers <asomers@freebsd.org> Cc: "freebsd-testing@freebsd.org" <testing@freebsd.org> Subject: Re: Looking at replacing ATF/Kyua (in a limited fashion) with Google Test/shunit2 Message-ID: <901D465A-9F32-4BBC-9FF6-7EB5AFAF6858@gmail.com> In-Reply-To: <CAOtMX2i5ChWgLz7mMwVAoG=YS0H7zRXgDpBwuSMSoHva-wUfug@mail.gmail.com> References: <45D23581-C780-4C55-80CF-19A81813D672@gmail.com> <CAOtMX2i5ChWgLz7mMwVAoG=YS0H7zRXgDpBwuSMSoHva-wUfug@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_2FE8D42A-9796-4BB0-BA51-C0384D8B84D5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 17, 2017, at 15:11, Alan Somers <asomers@freebsd.org> wrote: =E2=80=A6 > Before you get to far, you should ask yourself how much test case > isolation you desire. Googletest is great, but I think it'll be hard > to get the strong isolation between testcases provided by ATF. > Perhaps it'll be find if GoogleTest tests provide no per-testcase > isolation; most C/C++ programmers don't expect it anyway. But many of > FreeBSD's atf-sh tests depend on it. A lot of programmers don=E2=80=99t desire this at all, until they = realize how their tests might be affected by system state if/when there = are files/directories/other inputs infecting their results on the test = system. > Also, how are you planning to hook up GoogleTest and shunit2 to Kyua? It=E2=80=99s early enough on in the process of trying to figure out how = things work that I cannot definitively say, other than it may end up = being something like: kyua <-> googletest <-> atf or something more like: kyua <-> googletest_atf_compat and just mimic the output of ATF, while hiding the implementation = details of the test suites. If that turns out to be a pain, then I=E2=80=99= ll just implement another hook into kyua for googletest which will = implement the features we need, potentially as a patch to the port, = because =E2=80=9Clegal reasons=E2=80=9D (contributor agreements = shouldn=E2=80=99t be impediments, but because I signed an individual CLA = vs corporate CLA and they aren=E2=80=99t equivalent) are blocking me = from giving code back to Google as a Dell EMC employee (things may = change, but when I fought for a corporate CLA, it got stuck in the = bureaucratic quagmire that is my company=E2=80=99s legal/business dept). Thanks, -Ngie --Apple-Mail=_2FE8D42A-9796-4BB0-BA51-C0384D8B84D5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJYfw+DAAoJEPWDqSZpMIYVDbIP+QGKN2zl18xSgWsohE4rkbfS uRHPddu+qhkOEMn5SSuroZbWTdzMC9fqPq03TKAvafS2gkvWGVduwU/sG8v1uR5O simKs8uj65bDKj9tOSPqvLPlE7+lHt7gve8C3YTmSjp86hdk1sMCFmCa0pdUJmhg EuWG/cUUgKV/EsDvDFIasOw1jgqMMVjMV53rzWhxo6mSPVyq0Q1I+swZUkhhACa1 JDCBeYDcF2vZdCUNCo/e9K1s47ZlRjGPtnKU60i7p2LK2KZ5ekqVS//0PD5+0cfi lTazIIVJQdQy3/OqS3FYO0QXlWmTZOet/csS9qZaADF3SXZKoQ9U6AbZ5Ptp4lym yHlow8casju1T158ghfvSflzFS9o6zx4MJwRgKc+Q0dmRuA7EDGMMewuWdBy5M/H 2iI4ZkxS2Xc2Y918krIiWHZcpdkapSUI5nFW1xm1WN42FZ+qaIOWgnFmcH3qB500 EPJxrhVqb5tCoKaw40gv6rATgzGk6JI2cqKUV1TZekXnsEDb2jzfpxpny5dGZh0J a0yI7WvrgUhGDkzwiygTRh8SP7FttZ/l4d5svWXk4lkbOkHKR96BtPr4RSm2O3Xx Je8QYb8ir97Levltn9aFN3cjth9AFnLCAUo0prC1d2Nitme9UxML7X0rBJE9Jhqa Syc2NiuRYPLM8lb74hTi =eyRn -----END PGP SIGNATURE----- --Apple-Mail=_2FE8D42A-9796-4BB0-BA51-C0384D8B84D5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?901D465A-9F32-4BBC-9FF6-7EB5AFAF6858>