testing

How is unit testing better than just testing the entire output of your application as a whole?

Hello, I don't understand how an unit test could possibly benefit. Isn't it sufficient for a tester to test the entire output as a whole rather than doing unit tests? Thanks. ...

What is functional testing?

Hello, What is functional testing? How is this different from unit testing and integral testing? Thanks ...

What is The Turkey Test?

I came across the word 'The Turkey Test' while learning about code testing. I don't know really what it means. What is Turkey Test? Why is it called so? ...

Test driven development book

What book would you recommend to learn test driven development? Preferrably language agnostic. ...

Forcing a query timeout in SQL Server

We have had an issue with a block of code that responds poorly in the face of slow databases (It craps the bed on a query timeout). We have created a patch, and are in the process of running it through regression. We can't get a timeout. I've opened a transaction from SQL Mgmt Studio and updated every row to lock them, but that doesn't ...

Load testing tool that can send PUT/DELETE methods

Hi, I am finding load testing tool that can send PUT/DELETE requests. Neither ApacheBench nor JMeter supports these methods. After several hours' googling, I found www.soapui.org that looks good. Do you have any other recommendation? Command line tool like ApacheBench will be better for me. Thanks ...

How do I go about building a test plan for our QA department?

We are currently preparing our testing department for a new release of our latest project. We would obviously like them to follow a thorough plan for testing our software and insuring that bugs are passed back to us (the development team) before release. Are there any good tools or methodologies to follow in creating this test plan? ...

How to test an AJAX application that is pulling data from a live website?

Hello, I'm working on a AJAX application that pull data from a live website, I can't replicate the complete application on my local environment at the moment so in order to test if the Javascript code is working as expected I need to be able to bypass the same domain restriction on the browser (without making changes on the web server) a...

Automated Web UI Testing

What are the good automated web UI testing tools? I want to be able to use it in the .Net world - but it doesn't have to written in .net. Features such as a record mode, integration into build process\ continuous integration would be nice. Im going to look at: Watir Selenium Are there any others I should look at? ...

Where may one get sample 3d environments?

I want to test my 3d rendering engine as it gets developed, but I am using really lame objects like COLLADA models and such. I was wondering if anyone knew about a repository where one could download full 3d scenes, like cities, but not full levels. ...

Test framework for web services

We have a monolithic application written in Visual Dataflex, and various supporting applications written in other (.NET) languages. They all share the same database, and need to follow the same business logic. One way to facilitate unified business logic across these is to provide web services as an interface for testing. Of course, for...

End to End testing of Webservices

Hi all, first time poster and TDD adopter. :-) I'll be a bit verbose so please bear with me. I've recently started developing SOAP based web services using the Apache CXF framework, Spring and Commons Chain for implementing business flow. The problem I'm facing here is with testing the web services -- testing as in Unit testing and func...

Do you ever make a code change and just test rather than trying to fully understand the change you've made?

I'm working in a 12 year old code base which I have been the only developer on. There are times that I'll make a a very small change based on an intuition (or quantum leap in logic ;-). Usually I try to deconstruct that change and make sure I read thoroughly the code. However sometimes, (more and more these days) I just test and make s...

What are some Open Source Java projects with good, fine-grained unit test coverage?

I'm working on a Java decompiler with correctness(*) as a primary design goal. To test it, I'm looking for some Java Open Source projects with fine-grained unit test coverage. These projects can be large or small, but test should exist which cover individual classes or methods. I plan to compile these projects with various compilers/s...

Compliance test for OpenID providers

What automated standards-conformance tests are there for OpenID providers? I'm making changes to the implementation of an OpenID provider, to bring it from version 1.1 of the standard to version 2.0. Before releasing the code, I want to be sure that it conforms to the specifications of the standard. For testing web standards compliance...

How do I test the quality of an encryption algorithm?

I want to test an encryption algorithm for strength. It doesn't have to be strong, it just has to resist accidental cracking and say, a determined hacker with 10-hours to waste. (I wrote the crypto algorithm. Yes, I know that this is generally a bad idea but I think that I have good reason.) What kind of tests should I do? So far I'...

Unit Testing Expression Trees

I recently need to build a Expression tree so I wrote a Test method like so... /// <summary> /// /// </summary> [TestMethod()] [DeploymentItem("WATrust.Shared.Infrastructure.dll")] public void BuildForeignKeysContainsPredicate_shoud_build_contains_predicate() { RemoteEntityRefLoader_Accessor<ReferencedEntity> target = CreateRe...

Automated GUI Testing: Meeting Us Halfway

I've been tasked with developing a system for automated GUI testing and I could use some advice. As luck would have it, we are in the midst of a major redesign of our GUI and the developers doing the work are open to making their code more friendly to automation. My problem is that I'm not sure what to ask them to add. Whatever hooks are...

Test data generation tool

Is there any tool to generate test data based on specific requirements? e.g. Size, file type ...

Running UI automation tests on build server

We use UI Automation and Nunit to create tests UI tests for WPF application. We've created tests that work fine when you run them from a local machine. Those tests never run successfully on our build server (using TeamCity). Build always hang after opening application window. But if I am logged in (remote desktop), on our build server al...