Updates:
Summary: XML output file is created when no test case matched given
--include/--exclude or --test/--suite
Status: Accepted
Labels: Target-2.6.2
Comment #4 on issue 923 by pekka.klarck: XML output file is created when no
test case matched given --include/--exclude or --test/--suite
http://code.google.com/p/robotframework/issues/detail?id=923
Mikko, the problem is that a broken output.xml is created when this error
occurs. With earlier versions no output.xml was created in this case. To
illustrate:
$ rm output.xml
$ pybot --include nomatch tests.txt
[ ERROR ] Suite 'Tests' with includes 'nomatch' contains no test cases.
Try --help for usage information.
$ cat output.xml
$ cat output.xml
<?xml version="1.0" encoding="UTF-8"?>
<robot generated="20110728 00:43:43.040" generator="Robot trunk 20110727
(Python 2.6.6 on linux2)">