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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] > On Jan 17, 2017, at 15:11, Alan Somers <asomers@freebsd.org> wrote: … > 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’t 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’s 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’ll just implement another hook into kyua for googletest which will implement the features we need, potentially as a patch to the port, because “legal reasons” (contributor agreements shouldn’t be impediments, but because I signed an individual CLA vs corporate CLA and they aren’t 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’s legal/business dept). Thanks, -Ngie [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?901D465A-9F32-4BBC-9FF6-7EB5AFAF6858>
