testing-strategies

How to test on Live paypal site with dummy credit cards

Right now I am able to test credit card functionality on development server using test/dummy credit cards. But not able to test the same functionality on live server. Are there any dummy credit cards, with which we can test the same on live site? ...

What are tools and best practices for testing web services?

I'm about to start work on a large project that will involve providing a significant number of web services. We'll be using the Java platform, so, of course, we'll be making heavy use of JUnit, Hudson, etc. (although I'm not sure that matters at all.) We're looking for a set of best practices and/or tools for testing the web services. ...

Self Testing Tips?

Basically I'm wondering if anyone has any tips for ensuring your code is well tested without getting any help from anyone else in a limited time frame? In the past I've always been able to find someone else to do testing on my code or had a dedicated quality assurance team go over everything and find all the errors. I'm usually pretty ...

How to initiate automated testing?

I started as a software engineer at the company I'm currently at. Over time, I was either the only one willing to or capable of taking responsibility for various systems, and so I was "promoted" to being IT Manager. Now, during my time as software engineer, I would create functional tests for the various software modules I would build, a...

How do you stress test your own software?

I've been working on an app, by myself, and I am at a stage where everything works great--as long as the user does everything he or she is supposed to do. :-) The software needs more testing to see how robust it is, how well it works when people do things like click the same button repeatedly, try to open the wrong kind of files, put dat...

testing strategies: generating a XML file

I'm writing a couple of classes that generate xml file. (Details probably not important at the moment). I wondering the best testing strategy is. I don't want to re-write the xml generation code just to compare the output, when I could write the file to disk and compare it at certain milestones (the xml spec won't change often, like...

How to test something rendered correctly?

How does one test if an application rendered something correctly? For example (2D example): How does one know that the shadow is placed correctly or the correct color / outline was rendered? Or if 3D effect renders correctly when one would rotate in a direction? Other things could be if the word art was re-sized, how does one measure...

Is there a right way to implement a continuous improvement (AKA software hardening) process?

Each release it seems that our customers find a few old issues with our software. It makes it look like every release has multiple bugs, when in reality our new code is generally solid. We have tried to implement some additional testing where we have testers do several hours of monthly regression testing on a single app each month in an...

Where should I put my testing code in relation to the code it is testing?

The two obvious places I can think of would be some sort of "testing" folder right next to the code I'm working on. So something like: \project-code \my-feature \production-code \testing ***my tests*** \co-workers-feature \production-code \testing Or I could split out the testing co...

Tips for finding things in your program that are broken that you don't know about?

I was working on something for a client today when I found a way to break some functionality in our program. (The code is really legacy code, it's been in development for about 10 years and I've only been working here for about a year.) It didn't cause an error, or cause the program to crash, but if a user was using the program and d...

How to check whole website for certain conditions in rendered source of every page , automatically?

Like I want to check on Every page <h3> tag must come after <h2> otherwise page should be marked. like if any page has PDF then Some particular text <p>Download Adobe reader from here</p> should be at bottom of every page is this condition is not matched then page should be marked. I want to make different type of conditions to check ...

I'm on a 2MBPS internet connection but i want to check a website like i'm on a 256 KBPS connection on same PC?

Does anyone know how to test? I'm on Windows XP? and Firefox , IE7 installed ...

How do you unit test a class that's meant to talk to data?

I have a few repository classes that are meant to talk to different kinds of data, deriving from an IRepository interface laid out like so: In implementations, the code talks to a data source, be this a directory of XML files or a database or even just a cache. Is it possible to reliably unit test any of these implementations? I don't...