I have gone through Qtestlib manual & tutorial and got to know step by step procedure for developing a test.
If i'm right, Qt has already developed few test cases for testing its functionalities. Can anyone tell me where are those codes in Qt's source tree?
If i have to modify them(test cases), is it possible for me to do?
Thanks in advance,
Niv
The unit tests are not included in the source distributions, but they are present in the Git repository: http://qt.gitorious.org/qt/qt/trees/4.7/tests/auto
Related
Velocity is an amazing testing framework for Meteor and I am currently using it to test my application code.
Now I added a local package to the app, but I don't know how (or if) I can test the package with Velocity, too. I would like to drop tinyTest in favor for a consistent testing framework - Velocity.
Is it possible to test packages with Velocity? How should the file structure look like?
Yes, it is possible to test packages with sanjo:jasmine. It works in nearly the same way as with TinyTest. You can find all information to get started in the sanjo:jasmine README. There is also an example package. To run the tests, use the commands from the README.
If you need additional information, let me know.
I am beginning work on a project that makes heavy use of R. I've used R in the past, but only in a casual mode, whereas I'm now interested in following a more rigid practice of test/source control/continuous integration. I'm hoping to use Gradle with this project if possible, but I can't find any evidence that it is possible to use Gradle with R. Is it possible to create an R project with Gradle, and if so, where can I find steps to help me get started?
There appears to be a third-party plugin (https://github.com/jamiefolson/gradle-plugin-r). Alternatively, if R provides some command-line tools or Ant tasks, you can call into them from Gradle.
We have been working on gradle-R-plugin. (link to source is here https://github.com/arekbee/gradle-R-plugin). We have used it for CI/CD with TeamCity. gradle-R-plugin is base on devtools R package. I am happy to help you with this plugin.
I am setting up a FlexBuilder build under Hudson/Jenkins on a Linux system. I want to execute our unit tests, but do it without using the standard GUI-based test runner.
What are my options?
Folks seem to use something called xvfb. I haven't tried this solution myself so I'll just give you the links to the revelant articles I know :
http://www.benlondon.co.uk/2010/02/running-flexunit-09-tests-on-headless.html
http://life.neophi.com/danielr/2007/12/headless_linux_automated_flexu.html
http://www.brianlegros.com/blog/2009/12/20/using-xvnc-to-create-headless-ci-builds-for-flex-and-air-applications/
http://www.brianlegros.com/blog/2010/01/19/flexunit-and-continuous-integration-updates/
While building Qt and Qt-based software on windows, it seems important to set MINGWDIR environment variable. But i'm not very pleased with doing something like 'voodoo magic', without knowing the reasons. Unfortunately, searching google reveals that it's a lot of tutorials and examples that sets MINGWDIR, but no documentation about this environment variable itself. Is it required by mingw32-make? Is it required by Qt? Is it not required at all? Maybe some guru knows WHAT exactly this environment variable is for and can point me to some mingw/gcc documentation or any article about it?
As you know, MinGW is a compiler. This enironment variable is used to point to the installation folder for it.
Does this article help ?
I have a flex application build with actionscript 3 on flex builder with unit testing on it using flexUnit4. I want to build this project on my cruise control and i don't know how?
The easiest way is to have AIR installed so it can write directly to the file system, although there are other ways. From there, your buildbot can examine the output programmatically and pass or fail as desired. See the description on the Digital Dump Truck blog post for one such method.
Would this blog post be useful?
http://www.aaronspjut.com/mind/index.php/2009/05/23/continuous-integration-with-flex-3-cruisecontrolrb-and-flexunit4/
Sorry for the lack of information from me, I am not familiar with cruise-control.
Thanks Guys for the help,
Finally i managed to run flex on CI which generate my test results in html file. What i actually have to do is create a build.xml file which can run with ant. Build file has path to all the libraries of flex unit installed on pc or CC unit and the path to main file in your application. To build our project on Cruise Control you just need to edit the build.bat file on your CC.