[Nut-upsdev] make environment for automated testcases

Nick Ma. nick.mayerhofer at enchant.at
Tue Apr 28 13:15:02 UTC 2015


Hi Arno,
Thanks for your offer, though I'm really looking for a unit testing
framework. :)

First dummy test is already up and running and I'm currently fighting
with automake magic.
Thanks,
Nick

On 28/04/15 14:59, Arnaud Quette wrote:
>
> 2015-04-27 15:02 GMT+02:00 Charles Lepple <clepple at gmail.com
> <mailto:clepple at gmail.com>>:
>
>     On Apr 27, 2015, at 2:48 AM, Nick Ma. <nick.mayerhofer at enchant.at
>     <mailto:nick.mayerhofer at enchant.at>> wrote:
>
>     > But it still doesn't compile any executable: ~/nut/tests% ls
>     > cpputest.cpp example.cpp  Makefile  Makefile.am  Makefile.in
>
>     I think it is only intended to produce an executable when running
>     "make check" or the dist* targets.
>
>
> confirmed. Note that this is just a base framework for unit testing
> that Emilien has setup.
> Emilien may be able to elaborate more on this topic...
>
> A more comprehensive and system-oriented approach would be to use the
> tests set available in Debian / Ubuntu:
> http://anonscm.debian.org/cgit/collab-maint/nut.git/tree/debian/tests
>
> It tests a wide number of things, from IPv4 and v6 reachability, to
> commands and settings, including shutdown (simulation).
>
> Note that I'm interested in having someone that could focus more on
> the QA / Testing dimension.
> So if you're interested in Nick, feel free to contact me ;)
>
> cheers,
> Arno
> -- 
> Eaton Data Center Automation - Opensource Leader
> NUT (Network UPS Tools) Project Leader - http://www.networkupstools.org
> Debian Developer - http://www.debian.org
> Free Software Developer - http://arnaud.quette.fr
>




More information about the Nut-upsdev mailing list