Giter Site home page Giter Site logo

floufen / funq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from parkouss/funq

0.0 1.0 0.0 556 KB

funq is a python framework to write FUNctional tests for Qt applications

License: Other

Makefile 3.24% Python 47.29% Shell 3.10% QMake 0.72% C++ 45.11% C 0.54%

funq's Introduction

The funq project

funq is a tool to write FUNctional tests for Qt applications using python.

It is licenced under the CeCILL v2.1 licence (very close to the GPL v2). See the LICENCE.txt file distributed in the sources for more information.

Tutorial and documentation:

https://readthedocs.org/projects/funq/badge/?version=latest

Travis-ci build:

https://travis-ci.org/parkouss/funq.svg?branch=master

Get funq on PyPi (server and client packages):

https://pypip.in/version/funq-server/badge.png https://pypip.in/version/funq/badge.png

How does funq works

funq is divided in two parts:

  • funq-server is the server part of the project, composed of an executable called funq and a dynamic library libFunq. The funq executable allows to inject some code in a Qt application to start a TCP server that will allow to interact with the application.
  • funq is a python package that offers an API to interact with a libFunq TCP server. It is the client side of the project, and uses nosetests to launch FUNctional Qt tests.

Known restrictions

Funq currently only works with python2.7, Qt4, and on GNU/Linux.

It may work under Windows XP and some other versions but this has not been really tested.

There are plans to make it work under windows, support python 3 and also support Qt5. Contributors are welcome to help in these tasks !

Installation

You can easily install it from PyPi with pip or setuptools:

pip install funq-server
pip install funq

Note

Note that funq-server will need qmake-qt4 to build the C++ part of the server.

Also, if you're not using virtualenv you may have to take root privileges to install funq.

You can instead get the sources and install it with setup.py:

cd server
python setup.py install

cd ../client
python setup.py install

Note

For contributors, you may want to use python setup.py develop instead of python setup.py install commands.

Thanks to

Thanks to Yann De Poulpiquet <[email protected]> and Riad Lezzar <[email protected]> to have contributed by writing the firsts functional tests with funq.

Thanks also to Jean-Luc Rouzoul, Dominique Constant and Mickaël Guérin for having supported this project.

Without them, funq would never have become a free software !

funq's People

Contributors

floufen avatar parkouss avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.