testing

I want to dynamically generate software test procedure documents, what tools should I use?

In order to keep our software test procedures in line with our requirements documentation, I want to generate test procedures from smaller tests. Basically I want each statement in a lower level requirements document to be linked to a very atomic series of steps to test that requirement for pass/fail. Each of these short descriptions of...

How to implement an Android PerformanceTestCase using Intermediates

Hi, Can someone tell me how to write an Android PerformanceTestCase using Intermediates? I got the code snippet below for my activity and execute it via the adb shell: adb shell am instrument -w -e perf true org.foo.test/android.test.InstrumentationTestRunner My code: public class PerformanceTest extends ActivityInstrumentationTestC...

Where can I download an earlier version of iOS for backwards compatibility testing?

Does anyone know where I can download iOS version 3.1.3? I've been searching on developer.apple.com but haven't been able to find anything. I know that it is possible to install earlier versions of iOS using organiser (I believe the file extension for the iOS images is ipsw) ...

Question regarding dequeues and testing

Hello guys, I am preparing for an interview and I came across these questions. Can some one please help how to solve these questions. Imagine you've 2D system which is just testing whether 2 rectangles are in collision state or not, and you supposed to make a program which takes the code of this system from its developers and test it ...

what are difference between a bug and script issue?

what are difference between a bug and script issue? and when ever a testcase is failed, how to solve that testcase, i mean what are basic points to check how the testcase is failed. ...

raise I18n exceptions from within cucumber tests (rails 3)

I'am currently trying to get i18n into our rails application. I use cucumber for integration testing and test_unit for everything else. After the initial translation and "refactoring" the locale file, I have a few missing translations in my app, due to changed translation keys. What I want now, is that cucumber reports all missing tran...

unit testing application layers

I have a 3-tier application with Data access, service and presentation tiers. Where should i place the unit tests? On each layer? one presentation layer? regards. Josh ...

Where can I find an iPhone address book with sample data ?

I'm developing an application that get access to the iPhone address book. The simulator contains only a few sample entries. I'd like to find a sample address book with thousands of entries with various character set (English, Chinese, Arabic, etc) to fully test my app. Filling the address book myself will take for ever. Basically I need...

Testing short reads/writes handling

Good applications should expect short reads/write almost everywhere. But actually, for example, when reading small number of bytes from filesystem or from pipe short reads just [almost] never occur and defects in it's handling can remain undetected. How to test group of applications interconnected by pipes and sockets and reading and w...

How to developer an Automated Test and associate it with a Test Case in Visual Studio 2010 and Misrosoft Test Manager

Hello! I am trying to find how I can write automated test and to associate it with test case in Microsoft Test manager. I have found the article http://msdn.microsoft.com/en-us/library/dd380741.aspx#TestPlan , where have been described in general how to do it, but some moments is not clear for me. I will shortly repeat some main ideas fr...

Cycling "Given" information to a "When" action in Cucumber

I am trying to create a quizzing style skill drilling site and use Cucumber to drive the testing. As a rough estimate pretend I am presenting the user with two numbers, and asking the user to click a button representing their difference. Two obvious scenarios would be: Scenario: Difference drill, correct answer Given I am on the diffe...

Book suggestion for Java web application testing

Hi. Could you recommend some books on Java web application testing? Thanks. ...

Code coverage missing when building .NET 4 apps on Team Build 2008

I'm building VS2010 solutions on a TFS2008 build agent with VS2010 Ultimate installed; code compiles fine, and the tests all run fine, but when it comes to code coverage, nothing is being reported. I've checked that the .testsettings file has Code Coverage enabled and that I have selected some assemblies to instrument, and if I run the t...

How can I pass a solution resource as a FileStream object (to an intercepted File.Open command)?

I extend upon a legacy library which accesses files on the harddrive. I have such files as embedded resources in my unit test project. I have ported parts of the library to accept streams, which allows me to use GetManifestResourceStream to pass my embedded resource to the legacy library. This works fine, but it is a slight hassle. And...

How can I test command-line applications using maven?

I work on a complex, multi-module maven project. One of the modules is an executable jar that implements a command-line application. I need to integration test this application. I need to run it several times, with several different command-lines and validate the exit status and stdout/err. However, I can't find a plugin for maven that c...

What kind of unit test do I use for a Silverlight class library (non UI)

Hello! I have a solution built up of several projects. One is a Silverlight 4 application library used for the ViewModel. This contains no UI code so I have no need for UI specific testing. I Only want to test the logic in the ViewModel. Can I use a normal Unit test project in Visual Studio or do I need to go down the Silverlight Unit ...

Can I use Android SDK to test a handset?

Here's what I want to do. Please let me know if this is possible. I have an android phone, which I want to control using the SDK to send calls, receive calls , start some application, tap the screen etc. TIA ...

Android Test Frameworks

I am new to Android test frameworks ,Would like to know the differences between existing test frameworks : Monkey , CTS ,Instrumentation Framework & Robotium ? ...

Fastest rails test runner: spork and zentest?

I ran across a thread about slow rspec tests that made me wonder which rails test runner configuration will result in the fastest running recurring tests? I'm aware that ZenTest / autotest-rails can be used in conjunction with spork, but is that the fastest option? ...

Can unit testing be successfully added into an existing production project? If so, how and is it worth it?

I'm strongly considering adding unit testing to an existing project that is in production. It was started 18 months ago before I could really see any benefit of TDD (face palm), so now it's a rather large solution with a number of projects and I haven't the foggiest idea where to start in adding unit tests. What's making me consider this...