Hi,
unfortunately we currently don't have a test case library that you could
readily use, what you see on the wiki page, and what comes in the
tarball/package is pretty much all that we have at the moment.
There are a few more recipes in the git repository, but those are mostly
directed at lnst regression testing. Additionaly the format is different
and there is no documentation for it yet.
The best plan of action for you is therefore trying to write your own
tests (and possibly sharing them with us), we will be happy to assist
you if you encounter any problems.
Step-by-step guide to creating a recipe from scratch is here:
https://fedorahosted.org/lnst/wiki/Documentation/Recipes
Creating a custom test case will probably require to either use a lot of
exec commands[1], use a custom tool[2] or create a custom test module[3], you can
find information on these here:
[1]
https://fedorahosted.org/lnst/wiki/Documentation/RecipeXMLFormatReference...
[2]
https://fedorahosted.org/lnst/wiki/Documentation/TestTools
[3]
https://fedorahosted.org/lnst/wiki/Documentation/TestModules
We are planning on extending our recipe library in the future, after we
add support for NetworkManager and stabilize lnst.
-Ondrej
On Tue, Jun 25, 2013 at 12:11:33PM +0800, FangXinglorrie wrote:
Hi Ondrej,
I implement all the existing test cases into my test suite for a basic network test and
they work good. Currently I am trying to see if I can get more test cases for the network
test (the current ones are not enough in my case). Basically I am looking for the test
cases which can be used to do the regression test for a gateway. I am not sure if lnst has
more of those test cases (library) for testing Fedora's network functions and I am
glad to know more about it.
Please kindly let me know more about it. I look forward to hearing from you!
Thanks!
Xing