testing

TFS Build: Fails to run tests

I am trying to setup a TFS Build, and am having trouble getting my tests to run as a part of the build. I am getting the following weird error message in the build log: D:\TeamBuild\main-production\Company-Test DEV\Sources\root\main-production\customer-projects\Company\sc6-v2\Company-DEV.vsmdi The specified path, file name, or both ...

Are there any free alternatives to Silktest?

Does anyone know if there are any (ideally free) alternatives to SilkTest for automated GUI application testing? [Edit] This is a Windows-only GUI written in C++/CLI if that makes a difference. ...

How to insert predictable IDs for testing using ActiveRecord

I am trying to do some Cucumber testing like the following: Given I am logged in as admin When I go to the article page Then I should see "Edit Article" And I should see "Article Title" where the path to the article page is "articles/1" or some known id.The problem is that when I insert my data using my step definition Article.create...

Test Projects Display as Folder only in VS2008 on 1 machine

I have some projects that I created on my laptop, and they work fine there. I have just added them to the Subversion repository on my home PC, and loaded in VS on that PC only to find that the test projects do not display; they just show as a folder icon, and you can't see anything under the root. There is an expand icon next to the fold...

How do I test in both Safari 3 and Safari 4?

I only have one computer (running OS X), and need to test in both Safari 3 and Safari 4. While Safari 4 is the "official" release, I don't believe it has been pushed in Software Update yet, and therefore probably hasn't been adopted by most users. Even if it has been pushed, it's still a safe bet that many users haven't updated. The pro...

I have a Microsoft interview for SDET in next few days.....Any help on what should I focus on for my prep?

I dont know c, c++ much, but can read the code written in it. Also I am studying the basic data structures in c#...I guess language is not very important... As you can implement the problem in any lang of your choice in the interview... Any pointers on what should I prepare as I don't have much day left.. Thanks in advance ...

Selenium Ruby Reporting

I'm trying to set the environment for testing using Selenium and selenium-client gem. I prefer unit test style over RSpec style of tests. Do I have to build my own system for reporting then? How can I add exception handling without having begin-rescue-end in each test? Is there any way to do that using mixins? ...

What's new in Hamcrest 1.2?

What's the difference between Hamcrest 1.1 and 1.2? I couldn't find a release notes page or a file listing changes! Where can I find such info? ...

HTTP testing tool, easily send POST/GET/PUT

I'm in the need of a tool to help debugging a webapp - anyone know of some simple client tools that allow you to easily send and construct customizable POST/GET/PUT/DELETE HTTP requests ? ...

How to test a CSS parser?

I'm writing a parser to parse CSS. I started by modifying the CSS reference grammar, to use whichever grammar and lexer syntax are supported by the 3rd-party parser generator tool which I'm using. I think that I've finished coding the grammar: the parser-generator is able now to generate state transition tables for/from my grammar. Th...

django manage.py test auth fails

When I run the test suite of django I get errors on the auth application. I have (obviously) not written any of auth code and I have not written tests for auth. yet the auth tests fail. Here are some of the errors I get, the whole stacktrace is too big to put here: Does someone has dealt with this before? AttributeError: 'module' objec...

TDD : Any pattern for constant testing ?

Constants are beautiful people - they can hold in a unique place a value that is used everywhere in your code. Changing that value requires only one simple modification. Life is cool. Well, this is the promise. Reality is sometime different : You change the LogCompleteFileName constant value from L:\LOGS\MyApp.log to \\Traces\App208....

What is the ideal timeframe for testing code

I'm currently working on a critical monthly Accounts payable report. This report i just wrote will be the basis for my client in which how much is he going to pay to his vendors. So far i have spent about 5 hrs building automated tests and found zero errors so far. Do you think i am already spending too much time testing? What should be ...

Windows Mobile device incompatibilities - need suggestions for how to approach testing

I have a user who runs my application on a Samsung BlackJack with WM 6.1. He reports issues, like labels not appearing on forms, that I cannot reproduce on any of the emulators or the device that I am developing with (T-Mobile Shadow and WM 6.0). What are my options to reproduce and identify issues like that, without getting any offend...

How can i compare two rows of datatable in QTP

How can i compare two rows of datatable in QTP ...

Open Source Testing Tools

There are so many types of open source testing tools: for performance, functionality, and security testing. My question is, which open source tool (for both web-based and client/server projects) is: Largely used for performance, functionality and security testing Easy to understand Easy to use Acceptable/accepted in interviews Easy to...

browser plugin to test a site's look when migrating

I'm thinking I need a browser plugin that does the following, and if it doesn't exist, it should. I may as well say FF for now, but it could be any browser. The problem: when moving a website from one server to another, you need migration testing. It is a pain to click on every link by hand and compare it to the old host. You really ...

How can I test if my connection pool is working in a correct way?

I'm implementing a SOAP client using Apache Axis 2. Since the SOAP client must handle heavy number of requests I am using a connection pool. To do that I had to set a few transport layer configuration of my stub that was generated from a WSDL file: stub._getServiceClient().getOptions().setProperty(HTTPConstants.REUSE_HTTP_CLIENT, Const...

Studies showing time taken on stages (coding, test, maintenance) of software product development?

Are there any studies showing time spent on various stages of a product life cycle, especially test? Actual numbers and references would be useful. ...

How do you add sample (dummy) data to your unit tests?

In bigger projects my unit tests usually require some "dummy" (sample) data to run with. Some default customers, users, etc. I was wondering how your setup looks like. How do you organize/maintain this data? How do you apply it to your unit tests (any automation tool)? Do you actually require test data or do you think it's useless? M...