testing

Disable Window's automated handling of errors in subprocesses.

I'm trying to write a test suite for a compiler (LLVM) and it works perfectly fine on every platform except for Windows. On Windows I get the "critical-error-handler" message box which stops the tests indefinitely. This problem makes it very difficult to test because, with compilers, a problem often means invalid code on the assembly l...

How do I test a WSGI application from a script?

I'm debugging a really weird problem with a mod_wsgi-deployed application resulting in Django/Apache (not yet known which) giving status 500 errors to some users instead of the correct 404. I want to exclude Apache from the debugging environment to determine which part of the setup is at fault and send my requests manually to the WSGI ha...

how would one check a returned image-link with soapui testing?

I'm creating some tests for an ad server, and I want to test the validity / correctness of the returned ads. For this I would (from an assertion script) like to get the image link, and then retrieve the image and do some checks (width/height/format/does it exist, etc) Has someone done this before? I'm able to parse the link from the r...

How to test protected method with Spring dependency

I have the following interface and implementation classes:- public interface MyService { void method1(); } public interface MyServiceImpl implements MyService { public void method1() { // ... } /*protected*/ void method2() { // ... } } MyServiceImpl has some Spring wirings, in another word, both m...

What is the quickest way to isolate the source of an error amongst a list of potential sources?

What is the quickest way to isolate the source of an error amongst an ordered list of potential sources? For example, given a list of column mappings, and one of those column mappings is incorrect, what debugging technique would lead you to most quickly identify which mapping is invalid? (By most quickly, I mean, which approach would r...

How to find changes in a table relative to an initial SQL fixture?

I have a number of tests that run against a MySQL database which is pre-loaded with schemas and example data from a set of SQL files. Some of these tests, during their run, also create new data in the database. Normally, tests are responsible for cleaning up after themselves (and thus not polluting the database environment for other tes...

If an app works on one iPhone, should it work on all phones?

Hello, I'm testing my app on an iPhone 4 and iPhone 3GS. It works perfectly on the simulator and the iphone 4 but crashes after several mins of use on the jailbroken 3gs. On the iphone 3gs, the only apps i've installed are TetherMe and SBSettings. Can i just assume that the app crashes due to the phone being jailbroken? ...

How to test the order of mocked calls using EasyMock

Hi, It's easy enough in EasyMock to do: EasyMock.expect(service.methodCall()); but I noticed that this does not test the order in which I execute the calls, which in a case that I am trying to test is very important. Is there anyway to do this with EasyMock? ...

How to unit test ExtJS or similar JavaScript based interfaces?

Hi, I am using PHPUnit to test my PHP source code, but I need a way to test client-side code, too. I use ExtJS to build rather complex interfaces that call the server for data. I am wondering here is how does one test the UI? ...

using a PLUG-IN to exisitng testing framework or using FULL FRAMEWORK - which do you recommend?

Say you have a huge automation project and are using a certain testing framework, say -JUnit for most of the automation. However you typically get stuck with automating the flash part of the the application . Now you can usually select several tools for that issue only. on the one hand tehre are tools that are standalone and include all ...

testing android application

How do I test my android application such that it works on all major android phones ? e.g. Motorola, HTC, Samsung etc. I have an app that works on nexus one and samsung but it is giving problems on htc incredible. ...

Any references on Dynamic Code Analysis?

Yesterday I was reading about debugging techniques and found Valgrind to be really interesting. It seems to use techniques from dynamic code analysis. And I followed a link from the original reference to something else called Path Profiling. I tried Googling but I guess I am using the wrong terms to search for a good reference on these ...

How to test the throwing of errors in racket?

Hi Everyone, I'm currently working in some racket programs, specifically in the PLAI's language of the Programming Languages: Application and Interpretation Book, and there is a function called test, i was wondering how to test the error throwing in racket? Does anyone knows how to do this? Greetings (I'm not a native english speaker,...

Simple check to see if at least one object in a set has a property value of TRUE

I have a set of model objects that have a public IsVisible boolean property. All I need to do is find if at least one of the set has that value set to TRUE. In other words, if I have 10,000 objects but the second one is true, I don't need to spin through the other 9,998. I already have my answer. Now I know I could write my own itera...

Is there any way to control nokia e90 or other phones from computer?

I am trying to develop programs which will work for nokia mobile phones. I have E90 and want to control it over my computer. Or i want to test programs with emulator. Do you know is there any way to do this? ...

Many calls to external applications. How to test?

There is a Visual Studio plugin. The plugin uses VS SDK, few external applications and a database. A simplified version of the plugin is: Use VS SDK to get information about the current solution and its projects for i=1 to n do Call external application i (create process, add arguments, wait for result) Collect results from ap...

want do research on software testing

hi dudes, i am very interested in research software testing, would you please suggest how and which topics in software testing to do research and also provide research papers on software testing. ...

how to call IFormsAuthentication interface in unit testing

how to call IFormsAuthentication interface in unit testing in asp.net mvc with repositories ...

Testing android project with db4o (or other referenced lib)

Hi, I'm working on a project for android that uses an external library, db4o. Well, I've created a test project and I was trying to test my PersistenceManager, an object that controls the database life-cycle and exposes part of the ObjectContainer api (ObjectContainer is an object from db4o library). When I started to write the tests, I...

Cross-Processor Benchmarking?

Hello, Is there an easy way to benchmark a piece of software across a wide range of processors? The software I am looking to benchmark is a piece of an SSL Library - I'm looking to test the performance of some of the algorithms as hardware changes. Because I don't personally have the wide range of physical processors which I would li...