[Scons-users] HOWTO model a test suite using SCons
Stefan Seefeld
stefan at seefeld.name
Fri Jan 1 02:15:58 EST 2016
On 31.12.2015 19:19, Bill Deegan wrote:
> Stefan,
>
> What are the command line(s) to run the test(s) and to compile the
> output/reports?
That isn't quite decided yet. Some tests simply require a C++ source
file to be compiled into a binary (a python extension module), and some
python script to be executed. Some require a python "doctest" to be
executed.
Individual tests are already working. All I want now is a way to
organize these tests into suites so I can run these suites by name. And
since the normal output is quite noisy, I want to have a generated
report with outcomes, for convenience.
And ideally I would also be able to list the tests without running them,
somewhat similar to `scons -n test-suite`, but again without all the
verbose output typically printed, only the test names.
Thanks,
Stefan
>
> -Bill
>
> On Thu, Dec 31, 2015 at 2:56 PM, Stefan Seefeld <stefan at seefeld.name
> <mailto:stefan at seefeld.name>> wrote:
>
> Hello,
>
> I'd like to drive a test suite run with SCons, and I wonder whether
> there already is prior art for this.
> In particular, I'd like to invoke the test suite as a single target,
> such that all the tests contained in it are executed, and at the end a
> summary (number of passed / failed tests, names of failed tests) is
> printed. I'm not quite sure how to achieve this.
> Any suggestions ?
>
> Many thanks, and a Happy New Year !
>
> Stefan
>
> --
>
> ...ich hab' noch einen Koffer in Berlin...
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org <mailto:Scons-users at scons.org>
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
--
...ich hab' noch einen Koffer in Berlin...
More information about the Scons-users
mailing list