testing

MongoDB vs CouchDB (Speed optimization)

Hi! I made some tests of speed to compare MongoDB and CouchDB. Only inserts were while testing. I got MongoDB 15x faster than CouchDB. I know that it is because of sockets vs http. But, it is very interesting for me how can I optimize inserts in CouchDB? Test platform: Windows XP SP3 32 bit. I used last versions of MongoDB, MongoDB C# ...

How to test location based iPhone application during development?

Hello all, I am currently developing a location based iPhone application. Is there any way to test the app other than taking the iPhone to different places? Thanks ...

Help needed wit the XPath statement for Selenium test

I am testing a calendar component using Selenium. In my test I want to click on the current date. Please help me with the XPath statement for doing that. I am adding the HTML for the calendar component. <input id="event_date" type="text" on="click then l:show.event.calendar" style="border: 1px solid rgb(187, 187, 187); width: 100px;" f...

Ruby fixtures error with password column

I am trying to load a fixture for my tests which has a password column (binary datatype). The tool i am using uses EzCrypto gem for encrypting and decrypting passwords before they are stored/retrieved. Now if my column is binary i thought rails would automatically store the password as encrypted - but all i get is: 1) Error: test_is_wor...

Shell script for testing

I want a simple testing shell script that launches a program N times in parallel, and saves each different output to a different file. I have made a start that launches the program in parallel and saves the output, but how can I keep only the outputs that are different? Also how can I actually make the echo DONE! indicate the end? #!/bi...

Tarantula for rails app

I am just trying to get a simple tarantula request working, but finding it difficult without an api. If I have a simple test like tarantula_crawl(self) I get an error like 1) Error: test_tarantula(TarantulaTest): RuntimeError: 9 failures tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:221:in generate_reports' tarantula ...

Is there a Visual Studio Load Test open source equivalent - or something close?

In Visual Studio Team Edition there is a load test tool where you can select unit tests, integration tests etc... to form scenarios which are then used in a load test session with different configurations for example varying usage levels. Looking at for example the NUnit framework, it would be possible to develop a form of such a tool, ...

How can I effectively test a scripting engine?

I have been working on an ECMAScript implementation and I am currently working on polishing up the project. As a part of this, I have been writing tests like the following: [TestMethod] public void ArrayReduceTest() { var engine = new Engine(); var request = new ExecScriptRequest(@" var a = [1, 2, 3, 4, 5]; a.red...

How can I test my website in an old version of Safari on OS X?

Apple doesn’t seem to offer downloads of older versions of Safari, and I’m not even sure they would install on Mac OS X, as Safari seems to be part of the OS like Internet Explorer is on Windows. Is there any way to test my website on old versions of Safari? I need to fully test (i.e. click around, try out JavaScript), so a screenshot s...

how to access objects in run-time in qtp?

We have a function which accesses two types of controls like button and list box in standard windows app. The function uses only the control name as arguments, so there is no way qtp could understand what type of control it is. how to resolve this? Write 2 separate functions- 1 for button & another for list box? ...

What is the best approach for unit testing/integration testing GXT code?

I have been tasked to setup a continuous integration environment for a GXT 2.1.1 and GWT 2.0.1 environment. Unfortunately I am new to AJAX and Web Services and have little idea how to setup unit tests in the browser environment. Unit tests for the server backend I already have done, since I am a pro at that. GXT is not quite pure GWT ...

Testcase with multitouch on Android?

The TouchUtils class in the android documentation has functions like drag() http://developer.android.com/intl/de/reference/android/test/TouchUtils.html#drag(android.test.InstrumentationTestCase,%20float,%20float,%20float,%20float,%20int) but they do not support multi touch gestures, like a two finger swipe. Looking at the MotionEven...

How to distribute an iPhone app BEFORE the sale date without getting UDIDs or jailbreaking?

I've got an app that's approved by Apple and ready-for-sale, but we're holding off for a few days for press reasons. Anyone know of a way to distribute this thing to beta testers without dealing with UDIDs or jailbreaking phones? Does it matter that it's approved, can I just give select users a file without the provisional stuff? ...

Many small dbunit data sets or one large one?

Spreading test data across multiple small data sets seems to me to create a maintenance headache whenever the schema is tweaked. Anybody see a problem with create a single larger test data set? By "larger" I'm still only talk about a couple hundred records in total. ...

Best way to create / drop a database before / after integration testing on a Maven/Junit/DBUnit project?

I've seen some people use the maven-sql-plugin to do this. But it seems like a task that is better suited for DBUnit....perhaps at the beginning of an entire test suite. What's the best practice here? ...

Alternatives to VS2010 Test Professional/Team Server?

Hi I am looking for an alternative to Test Professional/Team Server that hopefully is free. They can be multiple tools/ hosted tools(hosted might be better). What I am looking to do is Load Testing. Performance Test( So I need something that can simulate like users on the site so I can see how my site handles with 50 users, then 50...

Will you publish your app without device testing?

Hello, me and my friend develop iPad application (a lot of CoreGraphics stuff). But we can't find an agreement. I tell him that testing on device is essential, he tells me that testing on iPhone 3G/3GS will be enough (I have both devices). Can you tell me, probably we really can test our app on 3GS? The main thing is that interface will...

Tools to make full web page screenshots in different browsers

Standalone tools or web services. Free or non-free. Tools with API or maven integration are appreciated. Thanks. ...

Standard error messages

Very often we have to make up standard messages to show user. It can be an error or a warning message, whatever. Has anybody seen somewhere a site with such messages? ...

Selenium and :hover css

Using selenium-rc and the java client, I want to test a menu which opens when the user moves the mouse over it. It closes when the mouse leaves the menu. This is done using :hover css, without any javascript. In selenium, there are many methods for mouse actions, but none of them seems to trigger any css :hover style to be used. Googl...