Menu

Posts tagged with ‘testlink’

Missing menus in new installation of TestLink 1.9.8

kinow @ Oct 27, 2013 12:42:33

I recently installed TestLink 1.9.8 and noticed that the menus and some other parts of the UI we missing. Looking at /var/log/testlink/userlog1.log (the location may change depending on your settings) I realized that there was something wrong with my PHP installation. There were log messages like the below.

include_once(ADORecordSet_ext_empty.class.php): failed to open stream: No such file or directory - in /home/kinow/php/workspace/testlink-1.9.8/lib/functions/common.php - Line 92
[13/Sep/18 12:51:09][WARNING][2o0h173pdgg5fjqh1pukr83og2][GUI]
E_WARNING
include_once(): Failed opening 'ADORecordSet_ext_empty.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear:.:/home/kinow/php/workspace/testlink-1.9.8/lib/functions/:/home/kinow/php/workspace/testlink-1.9.8/lib/issuet
...

I found a post in a forum (but unfortunately I forgot to save the link) that suggested these ADORecordSet were being caused by the module php5-adodb. Removing the module, and cleaning the templates cache directory ($TESTLINK_HOME/gui/templates_c/*) fixed the issue for me.

Hope that helps. Happy testing!

Running BDD tests from TestLink in Jenkins

kinow @ Nov 07, 2012 14:26:08

Last night and this morning I spent some time working on running BDD tests that were created in TestLink in Jenkins, using testlink-plugin.

Similar integration has already been proposed in JinFeng, by Olivier Renault. Basically, you write BDD stories in TestLink (a story goes into the Test Case summary), Jenkins retrieves these stories and executes them using a skeleton project.

TestLink BDD
TestLink BDD

There are many ways to use BDD. In some of them you write code like Java, Ruby or Perl, and in others you write a DSL. I started working with JBehave, but for this integration, I preferred to use a DSL - as TestLink doesn’t maintain source code, only test cases -, so I switched to easyb.

( Read more … )

A quick view on Wordpress, Mantis and Jenkins plug-in API

kinow @ Oct 25, 2012 08:49:36

I’m preparing a plug-in API proposal for TestLink, and thought that the best way to learn how to write a good plug-in API would be by looking at other application’s plug-in API’s.

This post contains information that I gathered for creating this new API, but that may also be useful for other programmers. I used Wordpress, Mantis and Jenkins in this study. Let me know if you find any mistakes or if you have any other suggestions.

( Read more … )

Jenkins, TestLink and GTest in 5 minutes (or so)

kinow @ Oct 11, 2012 23:44:59

This is a 5 minutes guide on creating a job for a C++ project in Jenkins with GoogleTest and reporting the test results back to TestLink, with testlink-plugin.

The test project with GoogleTest

For this simple guide we will use the samples that come with GTest TAP Listener. You can get the code from GitHub with git clone git://github.com/kinow/gtest-tap-listener.git. Take a look at gtest-tap-listener/samples/src/, there you will find two C++ files: gtest_main.cc and gtest_testHelloWorld.cc.

gtest_main.cc has the main function, and executes the test suite. And gtest_testHelloWorld.cc has the test cases and tests. Take note of the test case and tests names.

( Read more … )

Listing of current projects, achievements and my New Year’s resolutions

kinow @ Dec 24, 2011 14:08:56

Tis’ the end of 2011! Yay! Throughout this year I’ve heard people repeatedly saying that I had too much on my plate, and that I should quit some projects, stop giving talks, start surfing again amongst other things. Now, looking back, although I’m quite happy with my achievements in 2011, I can see their point.

In 2010 I started working as Software Quality Engineer with Anderson Santos. He was the greatest supporter of many of my ideas, so although we stopped working together in 2011, I’m still grateful to him for all he taught, for his advices and for spending some time guiding me.

He motivated me to start giving talks, going to more conferences and contributing more actively to Open Source projects. Since then, I’ve given almost 10 talks, including one in Belgium Testing Days, another one in Oracle JavaOne and in March next year I will be in America for a talk in STPCON. I also missed JCertif conference in Congo due to visa problems and learned some lessons from it (so sorry Max :)

( Read more … )