##tbot
- execute testcases on real hw
- testcases written in python
- call testcases from another testcase
- Based on ideas from: http://www.denx.de/wiki/DUTS/DUTSDocs
$ tbot.py --help
Usage: tbot.py [options]
Options:
-h, --help show this help message and exit
-c CFGFILE, --cfgfile=CFGFILE
the tbot board configfilename
-s LABFILE, --slabfile=LABFILE
the tbot lab configfilename
-l LOGFILE, --logfile=LOGFILE
the tbot logfilename, if default, tbot creates a
defaultnamelogfile
-t TC, --testcase=TC the testcase which should be run
-v, --verbose be verbose, print all read/write to stdout
-w WORKDIR, --workdir=WORKDIR
set workdir, default os.getcwd()
click on the gif to see the full video on youtube
demo video for a CAN bus testcase:
demo for a buildbot integration:
http://xeidos.ddns.net/buildbot/tgrid
look for more documentation at:
http://www.tbot.tools/main.html
http://www.tbot.tools/overview.html#installation
You can submit your patches or post questions reagarding the project to the tbot Mailing List:
General information about the mailing list is at:
http://lists.denx.de/listinfo/tbot
When creating patches, please use something like:
git format-patch -s
Please use 'git send- email' to send the generated patches to the ML to bypass changes from your mailer.
$ python2.7 doc/doc_tc.py
Documentation of Testcases: https://cdn.rawgit.com/hsdenx/tbot/master/doc/doc_testcase.html
best view when opening it from local clone ...
Building html docs with sphinx:
see info about sphinx installation: http://www.sphinx-doc.org/en/stable/install.html
create from all testcases new sources for sphinx
$ python2.7 doc/sphinx/doc_ty.py
$ make html
create html version:
$ cd doc/sphinx
$ make html
New Documentation now in doc/sphinx/build/html/main.html
$ firefox doc/sphinx/build/html/main.html
Documentation of Testcases:
https://cdn.rawgit.com/hsdenx/tbot/testing/doc/sphinx/build/html/main.html
PDF version:
you need rst2pdf installed, for example with:
$ pip install rst2pdf
Then you can create a pdf version of the tbot documentation with:
$ cd doc/sphinx
$ sphinx-build -b pdf source build/pdf
PDF version of the documentation now in doc/sphinx/build/pdf/tbot_doc.pdf
$ okular doc/sphinx/build/pdf/tbot_doc.pdf
create man pages
$ cd doc/sphinx
$ sphinx-build -b man source build/man;man build/man/tbot.1
$ man doc/sphinx/build/man/tbot.1
Heiko Schocher
- Heiko Schocher [email protected]
GPLv2