testing

Best Way to Test Rails REST XML API?

I want to test the REST api on my Rails site. What is the easiest/best way to do this with the rails testing framework? I'm only doing the standard resourceful stuff, so I am wondering in particular, since this is so bog standard, if there is any automagical way to test this stuff. ...

Any thoughts on A/B testing in Django based project?

We just now started doing the A/B testing for our Django based project. Can I get some information on best practices or useful insights about this A/B testing. Ideally each new testing page will be differentiated with a single parameter(just like Gmail). mysite.com/?ui=2 should give a different page. So for every view I need to write a...

How can you test your web server speed?

Our website seems to be slower than it used to be, how can I test that? And is there a way to find the cause? (eg too many visitors). Thanks. ...

Automated GUI testing of legacy non-MFC application?

We have a system that was originally developed decades ago and has increased in code base over the years. This is a fairly major system, with configuration that our department maintains (the vendor does not allow us access to the source or underlying database). The client software is a proprietry developed application which is basically ...

Browser Compatibility testing

How do i do browser compatibility testing? Is there any particular way or checklist through which i can confirm compatibility testing on browser IE 6/7/8 is done. Let me extend my query in particular to a application : Let us assume a web application is tested in IE6 (Approx 5000 Test Cases) Now i need to check the application compat...

Q/A, Release builds vs Debug builds, and Assertions

Just curious: When you release software builds to Q/A, do you prefer to always use the "RELEASE" version, or do you sometimes use the DEBUG version? Here's my conundrum: We like to use Asserts to trap for conditions that should never happen. On the one hand, it might be useful for Q/A to test our software with the Assertions enabled, ...

Get Specific Version of IE

Anyone know of a way to get your hands on a specific version of IE? Specifically, I am doing browser compatibility and originally developed for IE 6.0.3790.3959 (which most of our users have). Some of our employees that have IE 6.0.2900.xpsp_sp3_gdr.080814-1236 are having issues with some of our custom Javascript animation effects. I ...

What do you use to test Silverlight applications?

We are starting a big LOB application using Silverlight. I was wondering if you have any experience with Testing Silverlight apps, what are the best solutions you found and if you encountered any pitfalls. ...

Testing RSS feeds

I am looking to test an RSS Feed I have created and I am looking for some good RSS Feed applications to test with. ...

How do you put a file in a fixture in Django?

I can easily fill the field of a FileField or ImageField in a Django fixture with a file name, but that file doesn't exist and when I try to test my application it fails because that file doesn't exist. How do I correctly populate a FileField or Imagefield in a Django fixture so that the file itself is available too? ...

How do I run NUnit in debug mode from Visual Studio?

I've recently been building a test framework for a bit of C# I've been working on. I have NUnit set up and a new project within my workspace to test the component. All works well if I load up my unit tests from Nunit (v2.4), but I've got to the point where it would be really useful to run in debug mode and set some break points. I've tr...

automation tool for application accessed remotely

I am using citrix to access a application remotely. I am not able to use winrunner as it dosent identify objects as application is not installed on working PC. Is there any tool to automate such application ...

Exception Driven Programming for PHP?

I saw Jeff Atwood's post on his blog about Exception Driven Programming and I was curious if there is anything like ELMAH for PHP? G-Man ...

Will PHPUnit and XDebug work together?

I've been working on writing unit tests for my PHP code. PHPUnit is what I'm using for this. I have some classes that work great until... I throw XDebug into the mix. At that point, PHPUnit doesn't crash or anything, but setExpectedException never triggers. In fact, the code never goes beyond that point. Anyone run across this and ...

Unit Testing - Is this the 'right' way or the 'wrong' way?

If you were testing a count function like the one below, is it considered to be 'right' or 'wrong' to test multiple things for the function in one function vs having a test function for each of the tests? function testGetKeywordCount() { $tester = $this->getDatabaseTester($this->CompleteDataFile); $tester->onSet...

What's the best way to test an Atom Server?

Hi all, I'm setting up an Atom server to act as a REST-ful interface to my backend database. I'd like to put together some tests to ensure: - the output is Atom and AtomPub compliant - the data produced is a correct representation of the state of the database I'm comfortable enough with the concept of setting up the database in a known...

Is there something like AppVerifier or Driver Verifier for Linux?

I am hoping that someone can point me toward Linux software similar to the Microsoft tools Application Verifier and Driver Verifier. (They are stress testers for Windows applications and drivers, respectively.) Do such things exist for Linux? ...

Lorem ipsum of Perl, C#, C, Java?

In visually testing interfaces where code might live what do you use for your particular language for a standard? "Hello World" is not sufficiently complex enough in most cases. I am particularly interested in Perl but C#, C, C++, and Java are coming up. Per the comment: Lets say you created a new IDE, color scheme, or a web page whe...

How to automate a Siebel GUI?

I'm looking for a way to automate a Siebel Retail 8.1 GUI (High Interactivity) for functional tests. The only option I found so far is using QTP from HP, which is quite expensive. Do you know any alternatives, or do you have any experiences with QTP? ...

Pluses and minuses of using Factories in a Rails test suite?

I'm currently looking at a hefty Rails test suite. It's nothing I can get into specifics about, but the run time for the entire suite (unit/functional/some integration) can run upward of 5 minutes. We're completely reliant on fixtures and are we're not mocking and stubbing as much as we should be. Our next few sprints are going to be ...