Skip to content
/ fMBT Public
forked from intel/fMBT

Free Model Based tool

License

LGPL-2.1, Unknown licenses found

Licenses found

LGPL-2.1
COPYING
Unknown
license.rtf
Notifications You must be signed in to change notification settings

mixu-/fMBT

This branch is 1 commit ahead of, 21 commits behind intel/fMBT:devel.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0b09a04 · Feb 5, 2021
Dec 9, 2020
Sep 19, 2019
Jan 10, 2017
Jun 7, 2020
Mar 16, 2020
Nov 7, 2011
Feb 5, 2014
Jan 22, 2014
Sep 19, 2019
Jun 24, 2020
Nov 2, 2020
Oct 22, 2020
Apr 15, 2020
Sep 10, 2020
May 6, 2019
Sep 10, 2020
Nov 2, 2020
Jun 14, 2013
Jun 25, 2020
Oct 28, 2014
Oct 11, 2019
Dec 30, 2011
Oct 25, 2011
Nov 18, 2020
Oct 25, 2011
May 14, 2014
Nov 26, 2014
Sep 16, 2019
Nov 11, 2015
Nov 21, 2014
Nov 7, 2012
Aug 21, 2018
Oct 28, 2019
Sep 19, 2019
Nov 21, 2014
Aug 29, 2012
Oct 28, 2014
Sep 19, 2019
Oct 16, 2014

Repository files navigation

The fMBT (free Model-Based Testing) tool automatically generates and
executes tests. It is suitable for testing anything from individual
C++ classes to GUI applications and distributed systems containing a
range of different devices. fMBT provides a model editor, test
generator, adapters for various purposes and tools for analysing logs.


Building & installing
---------------------

Quick start for Debian/Ubuntu users:

    sudo apt-get install build-essential libglib2.0-dev libboost-regex-dev libedit-dev libmagickcore-dev python-dev python-pexpect python-dbus python-gobject gawk libtool autoconf automake debhelper libboost-dev flex libpng16-16 libxml2-dev graphviz imagemagick gnuplot python-pyside tesseract-ocr

Quick start for Fedora users:

    yum install  glibc-devel glib2-devel boost-devel libedit-devel gcc-c++ pexpect dbus-python libtool dh-autoreconf flex libpng12 libxml2-devel graphviz ImageMagick ImageMagick-devel gnuplot python-devel python-pyside tesseract

Quick start for Arch users (assuming base and base-devel to be installed):

    pacman -S libedit imagemagick libxml2 boost python2 python gnuplot graphviz gts leptonica tesseract tesseract-data python-pexpect python-dbus boost libtool flex imagemagick python2-pexpect python2-pyside python-pyside-common python2-shiboken

    You will also need X (xorg-server) in order to use fmbt-editor and
    fmbt-scripter.

./autogen.sh # run only if you cloned sources from git
./configure  # add parameter PYTHON=python2 when building on Arch Linux
make
sudo make install

Known issue with Fedora and Arch Linux: By default "make install"
installs Python libraries into directories that are not in the default
PYTHONPATH. Add them to the path:
    export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages:/usr/local/lib64/python2.7/site-packages

Windows users:

See README-windows.txt for building fMBT for Windows.


Binary downloads
----------------

See artifacts built in gitlab CI/CD pipelines.

https://gitlab.com/fmbt/fmbt_ci/pipelines


Getting started
---------------

1. Create a model and a test configuration:

   fmbt-editor helloworld.aal helloworld.conf

2. Run the first test:

   fmbt -l first.log helloworld.conf

3. See what it executed:

   fmbt-log first.log


Documentation
-------------

doc/aal_python.txt
        AAL/Python language reference documentation.

doc/configuration.txt
        Test configuration reference documentation.

https://github.com/01org/fMBT/wiki/GUI-testing
        GUI testing interfaces for Android,
        Tizen, VNC, Windows and X11.


Examples
--------

examples/filesystemtest
        Test a filesystem: mkdir, rmdir, access.

examples/c++-unittest
        Test a C++ class.

examples/javascript-unittest
        Test a JavaScript API in a browser.

examples/python-unittest
        Test a Python class.

https://github.com/askervin/fmbt-mplayertest
        Test MPlayer's pause, continue, next song, prev song, add
        song, and reset playlist.

https://github.com/askervin/fmbt-androidtest
        Test the phone application on Android: make calls, put calls
        on hold, swap calls, hang up calls from the phone application
        and homescreen menu.


fMBT self-tests
---------------

make check
        Run tests against the source tree as it is.

test/git-HEAD/run.sh
        Run tests against the latest commit in the current git branch.

About

Free Model Based tool

Resources

License

LGPL-2.1, Unknown licenses found

Licenses found

LGPL-2.1
COPYING
Unknown
license.rtf

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 58.9%
  • C++ 18.1%
  • C 14.2%
  • Shell 3.2%
  • GAP 2.9%
  • HTML 1.0%
  • Other 1.7%