testing

XUL Testing Tools

Are there any tools for testing XUL? I'm using yui test for testing XPCOM. But I can't find any for XUL ...

How to test a webform?

I'm building a website and would like to do some input testing on it. What are the worst things you can throw at your webform to test if it breaks or handles the failures correct? Are there values that can cause errors, what should not be entered into the form? ...

Python test framework with support of non-fatal failures

I'm evaluating "test frameworks" for automated system tests; so far I'm looking for a python framework. In py.test or nose I can't see something like the EXPECT macros I know from google testing framework. I'd like to make several assertions in one test while not aborting the test at the first failure. Am I missing something in these fra...

[Objective c] iphone device Testing errors?

Hi, I'm currently trying to test my iPhone application on a real device but I have multiple errors like that: Undefined symbols: "_OBJC_CLASS_$_UITableView", referenced from: __objc_classrefs__DATA@0 in CustomSearchController.o __objc_classrefs__DATA@0 in HistoryController.o __objc_classrefs__DATA@0 in SavedSearchesController....

Software testing

Hey In my workplace we use scenario based testing. However whenever somethign is fixed or a new patch is added new scenarios are added as a result the list keeps getting longer and longer and takes 3 days plus to test the application. Is there a way to do proper testing without taking a long long time? What do you use? Thanks ...

Create a stand-alone executable out of VS2008 test project

Is it possible to run an assembly created by a Visual Studio test project outside Visual Studio itself? I would like to create a test application that should be run also on machines where VS is not installed, and get a (graphical) report of the test outcomes. EDIT looking at the post provided in the accepted answer, and looking at the...

Is there a single software for multiple browser testing?

Hi, I was interested to know if there in single software which have multiple browser testing facility? If there is something like that please suggest. I have already heard about browser cam websites which provides screen shots of different browsers. But we need to wait for the screen shot and also it cannot be tested frequently while ...

Deploying a networked browser compatibility testing system.

I need to provide our web developers an easy and quick way to test their code on multiple browsers. Here's my current plan: Get a Mac Install Windows XP and Linux over VMWare Install all possible major browsers on these OSes, including on the Mac and the god-forsaken IE6. This will allow developers to use the system to test their app...

How to unittest Session timeout in Django

I have a requirement something like this: As soon as the user signsup(and will be in the waiting state untill he confirms his email address), a session variable is set something like "FIRST_TIME_FREE_SESSION_EXPIRY_AGE_KEY"(sorry if the name sounds confusing!) which will be set to a datetime object adding 8hrs to the current time. Ho...

Please Recommend a Simple Automated GUI recording application?

I need to have an application simply record mouse gestures and keyboard strokes that will then be able to play this recording back. I will run this on a few computers on the network to simulate multi-users. The app does not need to create any output scripts or code I just want to run the recording over and over again. I'm not sure if...

What is the equivalent of Rail's Testing Routes in Django?

I was reading the Rails testing doc and it looks quite comprehensive in explaining the different type of tests. I also noticed the section on Testing Routes. Does anyone know how I can do that in Django/Python? I have a bunch of web sites with some common urls that I need to test. Here's how it's done in Ruby: def test_should_route_...

Python unit test with base and sub class

I currently have a few unit tests which share a common set of tests. Here's an example: import unittest class BaseTest(unittest.TestCase): def testCommon(self): print 'Calling BaseTest:testCommon' value = 5 self.assertEquals(value, 5) class SubTest1(BaseTest): def testSub1(self): print 'Calli...

GWT testing without GWTTestCase and the DOM

Can I test my client side GWT code without GWTTestCase? I've heard somewhere (I think it was one of the Google IO 2009 conferences) that they were successfully testing their code with a fake DOM, in the JVM and not in Javascript with the DOM. That would be brilliant. The point of this would be to gain speed (order of magnitude). Does any...

How to organize a Data Base Access layer?

I am using SqlAlchemy, a python ORM library. And I used to access database directly from business layer directly by calling SqlAlchemy API. But then I found that would cause too much time to run all my test cases and now I think maybe I should create a DB access layer, so I can use mock objects during test instead of access database di...

Headless replacement of selenium and watir for testing Rails and Merb applications

Are there any future plans to replace selenium and watir with mechanize + johnson? http://wiki.github.com/jbarnette/johnson http://wiki.github.com/tenderlove/mechanize ...

XML data for Unit testing

We are looking to run a large amount of data through some unit tests. We would like to define this in some sort of excel spreadsheet or XML document. Is there away to get the unit testing framework to load this data as input and expectations. I can foresee this having issues with exception catching. Any comments on this are appreciat...

BDD or TDD? Which do you prefer? and why?

I see many developers disagree on which style of test to use while starting a new project. I'd like to know why you choose this particular style over the other. ...

How to give best chance of success to an OCR software?

I am using Tesseract OCR (via pytesser) and PIL (Python Image Library) for automated test of an application. I am checking that the displayed text is ok by making a screenshot and getting the text thanks to tesseract. I had some issues in the beginning and it seems to work better since I have increased the size of the screenshot thanks...

Open source test report generation tool

Background The QA department where I work has a lot of automated blackbox tests that interact with our applications via the GUI and the command line. Currently, the automated tests output their results to standard out where we then manually enter the final pass/fail result into a spreadsheet. We would prefer to have a system where th...

Testing an exception is thrown when using get with Ruby on Rails

I want to verify that an exception is being thrown in some function tests by calling get :methodname, :params. I had expected just making this call and then verifying the result is a 500 would be sufficient, but rails is failing the test as soon as the exception is reached in the get. While I figure I could go ahead and wrap the get in a...