testing

How do you test your Cocoa GUIs?

I would like to write some tests for the GUI of my Cocoa program. Is there any good GUI testing framework for Cocoa apps? The only thing I found is Squish, which, at 2.400€, is well beyond my budget… Any ideas? How do you test your Cocoa GUIs? ...

How to use automation for testing application involving highly complex calculations?

Hi, I want to following things for testing a application involving complex calculations: How to use test automation tools for testing calculations?(using automation tools like QTP or open source tools) How to decide coverage while testing calculations, how to design test cases? Thanks in advance, Testmann ...

How can I turn off cached requests in Visual Studio load test

When running a load test I want to turn off cached requests. My web test has the Cache Control setting turned off, which is supposed to mean don't cache. However, it looks like it is caching the images etc; which I don't want. How can I do this? Thanks ...

Phone Interview for Test Analyst Internship?

I am getting a phone interview for an automated test analyst internship position at a bank. What questions would you think I would be asked? ...

How do you test your business objects?

I am wanting to implement automated testing, using the Microsoft testing framework in Visual Studio, for my software development projects. I have created some tests, and all in all, it's pretty easy to use. What are some better practices for testing business objects, more specifically ones that read and write to a database. Is it best ...

Should we always reproduce the bugs to verify the fixes ?

From time to time we get bugs on production that can be fixed by for example by changing a configuration, disabling some part of the logic, and such. I've argued with my manager that we should reproduce the bugs locally to ensure the fix works, and more importantly so developers and QA can include the check for these cases as part of th...

Testing SMTP with .net

I need to configure a SMTP server for testing my website which sends emails (for registration confirmation etc). I dont actually want the email to be sent, I just want to make sure that my code is correct. So I want to be able to check that the email is placed in a queue folder for example. Can anybody recommend a SMTP server which is...

Is there a sample Rails application with a number of cucumber stories?

I'm trying to really understand Cucumber stories. I get it, but I'm really slow writing them. I think if I saw a good fleshed out application, I'd get closer to where I want to be. There are some samples out there, but there aren't any I can find with a single app with some non-contrived example stories. Are there any existing ones? ...

Quick creation of fresh OS install for software testing

What do you recommend for quickly creating images for testing a software product (that needs hardware access - full USB port access)? Does virtualization cover this? I need to be able to quickly re-image the system to test from scratch again, and need good options for Windows and Mac OS. ...

How to use condition in a TestGen4Web script for a child popup window?

I have TestGen4Web script for automating testing on a web-based user interface that has a popup window (hey i didn't write that ui..). In order to write a complete test script that branches the flow based on the some presence of some content in the popup window, I need to write a simple if condition that does something like if document.g...

Data Driven Validation Rules in VSTS 2008 Test Edition

We are using VSTS 2008 to perform some relatively simple web testing of a web application that we have under development. We have data sources defined to provide input data to the tests, and would like to perform our validations based on this data source also. The problem that I have is the VS GUI does not allow me to bind values in vali...

The Agile Way: Integration Testing vs Functional Testing or both?

Hi, I would in an office which has been doing Agile for a while now. We use Scrum for project management and mix in the engineering practices of XP. It works well and we are constantly learning lessons and refining our processes. I would just like to tell you about our usual practices for testing and get feed back on how this could be ...

Do you need to do unit and integration testing if you already do functional testing?

People at my company see unit testing as a lot of extra work, that offers fewer benefits than existing functional tests. Are unit and integration tests worth it? Note a large existing codebase that wasnt designed with testing in mind. ...

How can mocking external services improve unit tests?

I'm connecting to a simple, if idiosyncractic, external service. I believe that my unit tests should not depend on the availability or implementation of that external service, so I intend to mock it out. I need the mock to accept and return realistic messages and responses - otherwise my tests won't represent real states of affairs. Fo...

How do you organise/layout your test scripts

I'm interested in how others organise their test scripts or have seen good test scripts organised anywhere they#'ve worked. Also, what level of detail is in those test scripts. This specifically relates to test scripts created for manual testing as opposed to those created for any automated test purposes. The problem as I see it is this...

How to interview automation tester?

I have to interview automation testers, with experience in commercial tools like QTP, Rational Functional tester, open source tools like Watir etc. What interview strategy should I have? ...

How you test your applications for reliability under badly behaving i/o

Almost every application out there performs i/o operations, either with disk or over network. As my applications work fine under the development-time environment, I want to be sure they will still do when the Internet connection is slow or unstable, or when the user attempts to read data from badly-written CD. What tools would you reco...

Dependency on fixture data in rails initializer

I have an initializer which sets a default that is used throughout the app. The value is an ActiveRecord model, I'm essentially caching it for the lifetime of the app: @@default_region = Region.find_by_uri("whistler") The record is guaranteed to be in the database: it's fixture data which is referenced by other models. This works fine...

Testing helper methods in Rails

I'm testing my rails helper methods like this: require File.dirname(__FILE__) + '/../../test_helper' require 'action_view/test_case' require 'action_view/helpers' class ListingsHelperTest < ActionView::TestCase def setup @controller = ListingsController.new @request = ActionController::TestRequest.new @response = Action...

What is the best solution for organising test scripts required to pass a new feature/release

Has anyone experience with good software (or another way) of organising the individual tes scripts which need to be passed before a feature or whole release can be released to customers? I've heard good things about this http://www.rallydev.com/agile_products/lifecycle_management/test_management/ but am yet to use it myself. I know a lot...