testing

Are there any standard texts on the subject of Software Testing?

I found two general books on software engineering (Software Engineering 7.5 by Ian Sommerville and Software Engineering by Roger S Pressman) and that have chapters on testing and validation and verification, however are there any "required reading" books on this subject? ...

What is your favorite Delphi open source functional testing tool?

I'm aware of Selenium which is a very good open source automated website testing tool. Is there any equivalent open source tool to provide functional testing for Win32 GUI Delphi Applications? After a quick Google I've found this one : EFT So my question is what is your favourite functional testing tool and why? ...

How to design code for testability

I have been looking at using TDD and implementing proper testing (only just started to learn how much better it makes your life) in any of my projects that I create in the future. So for the last couple of days I have been floating around on SO trying to learn about how to design your application for testability, but I still seem to be ...

Reasons to have an absolute path in .NET

We're trying to decide between having all the devs on a particular team to use an absolute path for their code base or if relative paths are fine. One reason I can think for an absolute path, meaning everyone has the same path, is because of IIS and functional tests. Our asp.net functional test use Nunit and WatiN to fire up IE and go ...

How to setup a Active Directory environment test?

The project I´m working on needs to auth its users against AD, and as a fallback check against its own user base. Now I need to test it outside the production environment. What is the best method to setup a Active Directory test environment? Currently I´m downloading a Windows 2003 Virtual PC image, and planning a VMWare virtual LAN. ...

When not / to write tests before implementation?

Title says it all (mostly). I'm not sure how "tests first" works and I'd like to hear arguments about when and why one would take this approach. I hear that it's often recommended to write tests and mock things before writing a single line of implementation. However, I can't help but think that it doesn't fit every situation. For insta...

What do you do when you reach the end of an iteration and testing is not finished?

We're experimenting with following an agile approach to software development where I work. It's working well so far, however, towards the end of the iteration, we had a problem with a build and it cost a day's worth of time fixing: time that should have been dedicated to testing. As a result, our QA doesn't have enough time to complete...

How to view load test reports by individual request in Visual Studio Team edition

When performance testing a web site using the Load Web Test of Visual Studio one gets a summary of the results. Useful measures are shown, like the average response time, maximum response time etc. One thing that intrigues me is being able to drill down to specific requests if needed, answering questions like what was the single reques...

How do you inspect for and test for known IE browser "features"?

My company makes its money off of a great user experience using IE6, 7, Firefox and Safari. 90% of our traffic ends up IE and probably 60% of that traffic is still IE6. IE6 has a bunch of known gotcha's such as accessing DOM objects while they are still being inserted crashing the browser. Almost none of these issues surface during ro...

Is there a framework for running unit tests on Apache C modules?

Hi, I am about to make some changes to an existing Apache C module to fix some possible security flaws and general bad practices. However the functionality of the code must remain unchanged (except in cases where its fixing a bug). Standard regression testing stuff seems to be in order. I would like to know if anyone knows of a good wa...

Running unit tests on nested functions

I come from the Java world, where you can hide variables and functions and then run unit tests against them using reflection. I have used nested functions to hide implementation details of my classes so that only the public API is visible. I am trying to write unit tests against these nested functions to make sure that I don't break th...

Migrating to a new version of your Linux distribution

Hi, how do you go about migrating your (large, important, well-tested) application to a new Linux distribution? Did you do so recently, if so, how did you overcome the problems of large numbers of upgraded components with changed behaviour? How did your build system cope with the overlap when you had to support old and new version? Did ...

What method(s) do you use to test a debian/ubuntu package?

I'm talking about testing a package that you're building, especially one that spawns a daemon and/or fiddles with init.d. Do you log into some sort of chroot? Do you create a virtualized distribution and tear it down? How do you test your runtime dependencies and test suite without fouling up your dev machine for the next time you run y...

What interesting/novel/surprising uses have you found for automated tests?

I am working on JUnitMax, a project to increase the utility of automated tests. I'm looking for novel, unexpected ways tests prove valuable. For example, I use tests in responding to defects--one at the system level that fails, reproducing the defect and another at the unit level so I know what code to change (perhaps derived using the S...

Testing SMS code without access to a texting plan

Is there any way to test SMS messaging without having a texting plan? There isn't any way to setup the equivalent of a mock email server for the purposes of testing an SMS service is there? Are there any other ways to accomplish the task? Perhaps setting up something like a GrandCentral account that can receive text messages? I am loo...

Ui automation testing right click menus

I am trying to automate testing for wpf application using ui automation. I have problems simulating right mouse click and selecting different option in right click menu. Any suggestions? I also have problems with running other test written using ui automation. Because they just don't wanna start if I don't have UISpy opened and all prog...

Testing Events from Objects

I have been trying to get more in to TDD. Currently keeping it simple with lots of Debug.Asserts in a console application. Part of the tests I wanted to complete was ensuring that events were raised from the object, the correct number of times, since client code will depend on these events. So, I began thinking about how to test the ev...

Is there a difference between TDD and Test First Development (or Test First Programming)?

Both ideas sound very similar to me, but there might be subtle differences or the exact same thing, explained in different ways. What is the relationship between TDD and Test First Development/Programming? ...

What's the easiest way to test PHP in Windows XP Professional?

I want to test some PHP on my local machine running Windows XP Professional. I'm familiar with coding PHP for upload, but not with running a web server. What is the easiest way to set up a test environment? Step-by-step instructions would be great if you can give them. (I see WAMP recommended in this thread - thoughts?) Update - a yea...

How can I implement TDD in Perl?

We're using mod_perl to produce data in XML and later to be converted into HTML via XSLT, and the database is in MySQL. Our OS is Unix. So I've been reading about how cool and powerful TDD is in .NET, Java with all the available frameworks. I've even tested NUnit before and I kind of like it. You can write the test once and use it prett...