[PATCH 0/2] Started python unit tests using introspection
- From: Simón Pena <spenap gmail com>
- To: grilo-list gnome org
- Subject: [PATCH 0/2] Started python unit tests using introspection
- Date: Mon, 30 Aug 2010 12:40:08 +0200
Hi,
These two patches add support for unit testing from python
using GI.
* The first one updates the infrastructure so that the python
tests only get called when introspection support has been found.
* The second one provides a set of unit tests checking the PluginRegistry
class functionality
Simón Pena (2):
core: Updated infrastructure to support python tests
tests: Tested the PluginRegistry class using GI
configure.ac | 1 +
src/tests/Makefile.am | 15 ++++-
src/tests/constants.py | 50 ++++++++++++++
src/tests/test_registry.py | 154 ++++++++++++++++++++++++++++++++++++++++++++
src/tests/testrunner.py | 19 ++++++
src/tests/util.py.in | 9 +++
6 files changed, 246 insertions(+), 2 deletions(-)
create mode 100644 src/tests/constants.py
create mode 100644 src/tests/test_registry.py
create mode 100755 src/tests/testrunner.py
create mode 100644 src/tests/util.py.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]