testing

Performance TestCase Interface in Android

Hi.. Has anybody implemented the PerformanceTestCase provided by android and got some results...If you have done it please provide some source code,it will be really helpful... Here is the android link: http://developer.android.com/reference/android/test/PerformanceTestCase.html I have used the traceview tool but I need results like CP...

Test universal binary for mac

Hi, I am developing a mac program in an intel mac, under OS X. It needs to be also an universal binary, so guess with Xcode one can create the universal binary (UB), am I wrong? But my question is if there is some kind of virtual machine or such other method, so I can test whether the binary powerpc part runs ok, but I have only the i...

How to run two functions simultaneously

Hello, I am running test but I want to run 2 functions at the same time. I have a camera and I am telling it to move via suds, I am then logging into the camera via SSH to check the speed the camera is set to. When I check the speed the camera has stopped so no speed is available. Is there a way I can get these functions to run at the s...

Sleak SWT tool, Device is not tracking resource allocation

Hi, I'm having trouble in testing an RCP application with Sleak because it does not display anything, it only shows the message "WARNING: Device is not tracking resource allocation". I've setup Sleak from this tutorial and I don't know what's wrong. Does anyone know a solution for this? Thanks in advance. ...

Test Suite unittest

Hello, I have a test suite and I am trying to get it to work with the tests I have created. The test work if I run them individually but I want to run them all in a test suite. The code below show the test suite created: import unittest def suite(): modules_to_test = ('TestAbsoluteMove', 'TestContinuousMove') # and so on allte...

DOH command-line testing of JavaScript functions outside of the Dojo root

I'm trying to run DOH from dojo-1.3.2 to test simple Javascript functions from command-line. However, I can't seem to get anything to run and the net seems to be devoid of DOH command-line documentation. Ideally the structure I would like is: Tests reside: C:\myproject\tests\ Dojo reside: C:\dojo-1.3.2\util\doh As of right now I've ...

iPhone: Unable to Move Application to iPhone

Xcode version 3.2.1; iPhone Software Version as per Organizer Summary tab: 3.1.2 (7D11) Device does not appear under Device - 3.1.2 | Debug dropdown in Xcode. Consequently, unable to Build and Go. Organizer reports in grey typeface: Xcode cannot find the software image to install this version What have I done wrong and how can I c...

Print a List of All Tests in a Rails App

Is there an easy ruby or rails command to get a list of all the tests in an application? I use Shoulda primarily, but if there's a ruby solution regardless of test suite that would work too. ...

Web Server for testing on Linux.

I am looking for a simple easy to use lightweight Web server ( linux/Ubuntu Koala ) for testing some web apps. On Windows I used Web Savant ( which was rather easy, just enter the html directory and the bin directory and press start ) to give some people an idea of what I'm looking for. Update: My apologies. I didn't realise that this...

How do you solve the infinite regress problem in TDD?

If I write test code to test my code, the test code might have bugs so it needs to be tested and when my code changes my test code may have to change. Repeat ad infinitum. How is this problem solved (in practice and in theory)? ...

Testing web app GUI reliable

Hi, I'm currently using selenium for testing our web app's interface. However, it isn't very reliable (it's hard to set a good waiting timeout, absolutely a nightmare to work with in any webpages involving frames) and lacks many features (popups/downloads). I took a look at http://sikuli.csail.mit.edu/ and quite like it, but again, it ...

Testing recommendations for LAMP web apps

I need help testing! :) I work at a small webdev company and am responsible for the quality of our applications. We build e-commerce sites every now and then, and since our customers rely on the site to make money, the have to be completely bug free. Sadly, we've had issues with that in the past and we're looking to tighten up our tes...

How can I test an atom feed on localhost?

When I try and view an atom feed on localhost, instead of displaying the feed, firefox gives me a choice to add the feed to google reader or my google home page, but I don't think google reader can display feeds from localhost, not sure though. If I use Chrome it will display the raw xml, but it doesn't attempt to parse it. What can I ...

Introducing testers to HTTP and Fiddler?

Hi, We really need to get our testers into using Fiddler to determin page size and site speed as part of their pre release testing process. I have sat with some of them to talk about fiddler but I'm looking for some easy to understand resources for learning Fiddler. More importantly I think it might be ideal if I can find an easy to re...

Do I have to run make/make install to test each change to a Perl distribution file?

Do I have to run make and make install each time I change a .pm file for Perl? I'm doing a ton of testing and this is becoming cumbersome. ...

Zero-configuration, automated, random testing tools for web-apps?

In short, I'm looking for a tool to perform an automated, zero-configuration, full-frontal assault on a web application. I'm thinking this would logically be a browser-extension that both crawls links on a given domain/path, AND randomly inputs data into forms and submits them. Specifically, form input would randomly include various dat...

How to run the same testmethods while only changing the dependencies?

I have 5 testmethods that test the functionality of a PasswordManager object.I use the built in test engine of visual studio 2008. This manager can make use of two Dependencies: an XMLStorageManager or a DbStorageManager. The Dependency is set in the Passwordmanager's constructor. How can I run the tests twice with the only difference th...

Has anybody used SIKULI for testing their GUI-based apps?

SIKULI seems to have an enormous amount of potential. Has anybody tried to use this as a tool for testing? Or would it be better suited for automating actions for users? ...

how to omit something from an rspec controller test?

In my RSpec controller test, I'm trying to test a particular action that makes a call to a subfunction. But I don't want the test to include the call to that subfunction. (it'll raise an error that simply cannot be fixed in my dev environment) What's the best way to omit this subfunction call from this controller action while I'm ru...

How to test a random generator

I need to test a random number generator which produces numbers randomly. How to make sure the numbers generated are random. ...