testing

Unable to run WPF application in other computer

I have WPF application, Which works fine on my PC. As this application is going to be used by clients i was trying to run that in few other computers. But when i try to run it, it opens window for brief moment and closes itself. Looks like .net is just refusing to start the application. There is nothing on event log. Also my applica...

How to generate random data for testing database performance?

I have created a test table in MySQL and would like to insert 10 million rows with randomly generated data. How to do this random generation process? Is there any predefined method in MySQL or is there any quick query we can construct to do this job? Thank you for any help. ...

How can i implement ROR testing

Hi, Can you one please guide.... i want to implement Testing in my Rails application.... i never do that before.... so i don't know how to implement testing. can any one please tell me is their any link should follow for step by step process ... please.. Thanks in advance ...

Trying to run Android JUnit tests in Ecclipse fails!

I have seen all the examples on the web and it seems real simple. I have a bare-bones app that displays a string. I have a a Android JUnit test project that I created when the app was being created (ecclipse asked if I wanted to create a test app). When I run the test app (Run As --- Android JUnit) I see the foolowing in the console.......

JavaScript development - bookmarking lines of code?

Hi, I constantly find myself rewriting the same lines of code in the Firebug console to test my application. The application uses UI so much that I don't think unit tests are the solution here? How could I quickly run lines of JavaScript code without typing them again and again? ...

How can I stub out a call to super in a imported Java class in JRuby for testing

I am testing Java classes with RSpec and JRuby. How can I stub out a call to super in an imported Java class in my RSpec test? For example: I have 2 Java classes: public class A{ public String foo() { return "bar"; } } public class B extends A public String foo() { // B code return super.foo(); } } I am just t...

How to write modern Python tests?

What is the latest way to write Python tests? What modules/frameworks to use? And another question: are doctest tests still of any value? Or should all the tests be written in a more modern testing framework? Thanks, Boda Cydo. ...

Cheap PC Laptop for Testing

I'm a Mac user and programmer. I mostly do back-end stuff, but recently, I've need to do some front-end tasks and need to test sites on PCs as well. So I'm looking for a PC just to test the look of sites in IE. Nothing fancy Any suggestions? ...

consume/unit test forms validated restful webservice

Hi, I am using asp.net mvc to create forms validated restful webservices. I am just wondering whether it is possible to consume these web services via, for example, a console application? How do I create the cookie etc. Ultimately I would like to unit test the actual web services. Thanks a lot. christian ...

While loop value test

I have an array of objects that contains a key value with true or false. These values start as false but switch to true on completion of their work. I was looking to determine when all the values had completed i.e. all switched to true. Is there a deviation(logic below) on a while loop with a test if statement that may solve this. bas...

blackberry web testing

Hi, i did small web application for using php,html,javascript, i want to test my application in blackberry and i-phone, but i dont have these blackberry and i-phone , Any site providing facility somthing like live blakcerberry tester site... Thanks ...

How "good" is the Android Emulator?

As the title says, how "good" is the Android emulator? I don't have an Android phone but would it be possible to develop purely using the emulator as the testing environment? My initial questions about it: Is the emulator as responsive as a normal android phone (of course this depends on the exact phone but in general)? Is there a wa...

Integration testing - seeking your knowledge, advice and links!

Hey guys, I'm after some advice and pointers on integration testing for a web app. Our project has been running for a number of years and it's reasonably complex. We're pretty well covered with unit tests but we're missing a decent set of integration tests. We don't have documented use cases or even a reasonable set of test cases beyo...

Recommendations on 3rd party QA for websites

My company isn't big enough to necessitate a full time QA person. We are building a large-ish web site for a client and would like to use a 3rd party to QA it. The site supports a lot of user generated content and we're looking for someone to go through and try it all out and make sure everything is firing like it should. ...

Web application testing framework to be used by customers

I'm looking for a web application testing framework that is intented to be used by customers. That is, tests will be created by users, not programmers or testers. Thus, no scripting. It has to have some kind of IDE/GUI. Selenium IDE is nice but too basic. The more or less suitable solutions I've found: CubicTest. Seems to be very nice...

Migrating test cases & defects from Quality Center to TFS 2008/2010

Tool that can be used to migrate (or even better..synchronize) test cases and bugs between: TFS 2008 and Quality Center 9.2 (or later) TFS 2010 and Quality Center 9.2 (or later) I am aware of the following tools: Test Case Migrator (Excel/MHT) Tool TFS Bug Item Synchronizer 2.2 for Quality Center Also shai raiten mentions on his bl...

How to get instance_of to work with ActiveRecord objects in RoR?

Today I ran into an issue using RoR to stub calls to AR objects. I thought that I'd be able to do something along the lines of : stub.instance_of(BankAccount).save_to_other_spot { true } However when I tried this method it didn't seem to stub the method at all and it would end up running the original method I was trying to stub. I con...

Test application lay-out for low resolution (winform)

Our firm is investigating in acquiring 22" monitors for our development team. The only current issue is that our users will be using smaller screens. We tried using a screen-grid tool (gridmove and nvidia's utils), but they are not entirely realistic. How do you test winform application layouts on a resolution lower then your screen's ...

Simulate records in database without entering any

Hi, I've nearly finished the development of a project and would like to test its performance, especially the database query calls. I'm using Linq to SQL to search via usernames, but I've only got around 10 'users' in my database, so I can't really get a decent speed reading. How can I simulate thousands/millions of users in the databas...

Use reflection to Recreate Object for Test

Hi - I have a large number of C# WCF services that are being called by an enterprise system. When we encounter issues during development it can take a long time to reproduce the exact conditions on our development machines. Essentially we need to log the request using WCF & build an integration test based on the data logged. If the ob...