GNOME Bugzilla – Bug 722423
Add behave to allow apps running BDD tests in python
Last modified: 2014-03-14 22:55:25 UTC
Created attachment 266552 [details] [review] Patch Behave is a testing framework allowing to execute python code based on simple BDD-style scenarios. This might be useful to write UI tests using dogtail
Review of attachment 266552 [details] [review]: Ok, if there's going to be an investment in tests using this.
BTW, this should probably go in the jhbuild moduleset too, so people can use it there.
This caused a build failure: http://build.gnome.org/continuous/buildmaster/builds/2014/02/27/66/build/log-behave.txt ob: running: ../configure --build=x86_64-linux --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc --localstatedir=/var --bindir=/usr/bin --sbindir=/usr/bin --datadir=/usr/share --includedir=/usr/include --libexecdir=/usr/libexec --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --disable-silent-rules python: can't open file 'setup.py': [Errno 2] No such file or directory I bet it's a srcdir != builddir issue. We need to add: #buildapi-variable-no-builddir to the configure script. For now I have reverted the patch.
Created attachment 270773 [details] [review] Buildsys patch
Created attachment 271895 [details] [review] Add behave to manifest and its dependencies A much better patch to install behave and dependency (parse). Tested on my local gnome-continuous instance
Review of attachment 271895 [details] [review]: Ok, thanks for testing with a local build!
Pushed as https://git.gnome.org/browse/gnome-continuous/commit/?id=fe5e4ed, built on http://build.gnome.org/continuous/buildmaster/builds/2014/03/14/75/build/