【发布时间】:2012-07-16 12:48:25
【问题描述】:
我尝试了以下方法,但它不起作用:
.SH ADD A NEW TEST
Everytime you invoke a command within the shell,
this is what actually happens: the shell search for a folder
named as your command inside the directory
.B path/to/framework/Tests
or any subfolder,
if it finds such a folder, it will search for a file called
main.pl and will launch it.
.br
.br
Adding a new test is easy as create a new folder, put a main.pl
file inside it and invoke the folder name. Of course, for a better
integration with the whole system you should follow
some guide lines. Invoke the command
.B skeleton
to find out where the skeleton file is installed in your
system. Have a look to that file. It's well commented and
cover all possibile case and scenarios. Use it as a model to write
your own test.
第二个.br 被忽略。
【问题讨论】:
-
nroff 有段落的概念,而不是空行。只需输入一个空行即可开始一个新段落,但是这not意味着在输出的段落之间添加一个空行。