testing

What is the best free (as in beer, FOSS would be good as well) replacement for Mercury TestDirector?

The question is as its title. I'm looking for a replacement for Mercury TestDirector. Now, TD is a bug tracking tool, but it's more than that - it allows for test script storage and execution, and for the execution reports to link to bugs. In order to be considered, the replacement must provide this bare minimum functionality - bug tr...

Watin test hang application while uploading file

I have an issue with watin test that should browse for pdf and upload it to a web page. This test runs smoothly on my machine, always find pdf, click submit and wait 30 sec for upload completed. But when I try to run this test on build machine (teamcity), happens that test hang at the point when it should wait for upload. The problem...

Hardest types of bugs to track?

What are some of the nastiest, most difficult bugs you have had to track and fix and why? I am both genuinely curious and knee deep in the process as we speak. So as they say - misery likes company. ...

Populate a constant values table

In a Rails application, I need a table in my database to contain constant data. This table content is not intended to change for the moment but I do not want to put the content in the code, to be able to change it whenever needed. I tried filling this table in the migration that created it, but this does not seem to work with the test...

How to compute the p-value in hypothesis testing (linear regression)

Currently I'm working on an awk script to do some statistical analysis on measurement data. I'm using linear regression to get parameter estimates, standard errors etc. and would also like to compute the p-value for a null-hypothesis test (t-test). This is my script so far, any idea how to compute the p-value? BEGIN { ybar = 0.0 ...

Most Natural GUI Toolkit

On episode #41 of the Stack Overflow Podcast Jeff and Joel discussed GUI ideologies that lead to poor usability. What GUI toolkits have you seen that most beneficially influence the programmers that use them? What level of separation (between user-interface and implementation) do you find most efficient for testability and usability? ...

Setting up a mock interface in C++

Hi.. I'm currently trying to use a certain SDK that has me loading functions off a DLL that a vendor provides.. I have to pass arguments to these functions and the DLL does all the work.. Now, the DLL is supposed to be communicating with another device, while I just wait for the results. However, I don't have this device, so how do I s...

Can you print to a printer driver without having the hardware and see the output?

Here is our situation. Our software has an option to print cards (credit card sized ID cards). We have various options to set transparencies of images, different fonts, colors, and just a bunch of stuff to make the cards look pretty. The problem seems to be that not every card printer really functions the same with the same set of parame...

Testing EJB 3.0 components

I've got a couple of questions concerning the integrated testing EJB 3.0 components using JUnit. In your JUnit tests you can inject to session beans resource-local entity managers and therefore "simulate" ejb-container. But what if... What if you need to test if transaction attributes on your ejb methods are handled properly? Can thi...

Generating Valid Credit Card Track2 Data for Testing

I have test cards from my payment processor but I do not have enough to do load testing , thus I need to generate card numbers and track data I can use through their test gateway. ...

Tools for Generating Mock Data?

I'm looking for recommendations of a good, free tool for generating sample data for the purpose of loading into test databases. By analogy, something that produces "lorem ipsum" text for any RDBMS. Features I'm looking for include: Flexibility to generate data for an existing table definition. Ability to generate small and large data...

Testing any web page approach

How should one approach testing a web page with tabs (linking to other pages), frames or form? What should be the general methodology? What could be the various test cases? I was asked this interview for a Junior QA Engineer position without requiring to be very specific. And, I couldn't comprehend the question very clearly. Some of t...

Is there any way of throttling CPU/Memory of a process?

Problem: I have a developers machine (read: fast, lots of memory), but the user has a users machine (read: slow, not very much memory). I can simulate a slow network using Fiddler (http://www.fiddler2.com/fiddler2/) I can look at how CPU is used over time for a process using Process Explorer (http://technet.microsoft.com/en-us/sysintern...

UnitTesting Properties in .Net?

I am working on a lib that I want to release in open source. I have started writing the tests for the code, and I was wondering how I am suppose to test a property in a .Net object. Lets say I have the following: public class Person{ #region variables private string _name = String.Empty; private string _surname = String.Em...

Sample C++ tests

I'm about to take a C++ test. But I only get one crack at it to get over 85%. If I don't push over that, then I don't get the job. The problem with these tests are that they typically target generic C++, and depending on what libraries you use your definition of generic may differ. STL and Boost may seem logical to some (and should...

Automation Testing approach - Which is best?

Which is the best suited automation approach? is it Data driven testing or Keyword driven testing? Now even we have Business process testing, what according to you is best approach? ...

What does a testing internship at CIBC ( the Bank ) entail?

The job title is "Test Analyst-Batch Testing". I know I will be doing black and gray box testing. I a little unsure on gray box testing. Also it seems like heavy scripting will be involved. My question for people in the software testing industry. What kind of software will I be testing as an intern at CIBC ( the Bank )? What will I learn...

Software Testing against multiple versions of SQL Server

I'm currently working on a test plan and ran into a possible problem and I was wondering if anyone had any suggestions. The application uses SQL Server and it can connect between the different versions for compatibility (2000, 2005, 2008). Well i'm trying to set up some test machines and was wondering how I should set things up. Shoul...

Testing document uploads in Development server using json files

I just built a small application(using Django) which will accept any jobseeker resumes. So any jobseeker uploads his/her resume in the form provided. How do I test this using testcases. I am used to writing fixtures for my initial data using json files. How would I have the same sort of a thing with doc files? So simply I want to run my ...

When to unit-test vs manual test

While unit-testing seems effective for larger projects where the APIs need to be industrial strength (for example development of the .Net framework APIs, etc.), it seems possibly like overkill on smaller projects. When is the automated TDD approach the best way, and when might it be better to just use manual testing techniques, log th...