[Scons-dev] Does SCons test support negative tests?

Gary Oberbrunner garyo at oberbrunner.com
Tue Sep 29 13:10:39 EDT 2015


On Tue, Sep 29, 2015 at 12:08 PM, Bill Deegan <bill at baddogconsulting.com>
wrote:

> Gary,
>
> For this test I ended up just having the full expected output, in this
> case I effectively checked for the output not being there.
> It worked for the negative case because the output is pretty short.
>
> Can you use must_not_contain on stdout?
> I'm thinking our test framework docs are pretty sparse.
>

There's a _small_ amount in the wiki, at
https://bitbucket.org/scons/scons/wiki/DeveloperGuide/TestingMethodology/QMTestMethods
 and
https://bitbucket.org/scons/scons/wiki/DeveloperGuide/TestingMethodology.
The README in the QMTest dir is not all that helpful; that'd be a good
place for some of this IMHO.


-- 
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20150929/e0927860/attachment-0001.html>


More information about the Scons-dev mailing list