testing

How to create a movie file (avi) using a set of jpeg files in VB?

Hi, As part of test automation framework building, I need to record the activities done by the user in a video. Since i could not find a way to record a video directly in vb, i opted to capture a sequence of screen shots (print screens) and then convert it to a streaming video. Please suggest a way to do the same. thanks, pkrg ...

Testing Problems upgrading from grails 1.0.5 to 1.1.1

I recently upgraded to grails 1.1.1 and while my application works fine, my tests are having some serious issues: for unit tests some mocks are failing, it seems like anything that calls a method from a domain class isn't working, for instance def boolean isParameterized() { return (parameters != null && !parameters.isEmpty()) } i...

Testing HTTP Basic Auth in Rails 2.2+

As part of an API I am building, there is a user authentication method which upon success, returns a payload of useful user information, API token, etc. In writing functional tests for the controller that handles this, I am running in to an issue testing HTTP Basic auth; I have found numerous blogs that mention the following code should...

Flex, Flexunit: How to test that an event is dispatched twice?

I'm testing some event dispatch code in a Flex app, using FlexUnit's addAsync method for testing that events are dispatched. Great so far, I can ensure that at least one event was fired. However, I want to be a bit more detailed; I want to ensure that exactly the set of events I'm expecting are dispatched. Is there a useful test patte...

Is there a detailed "how to" on Unit Testing for Visual Studio 2005

I have never written/run a unit test. I am a relatively young programmer, but I do a LOT of reading. I've been searching for information on unit testing because I see a lot about, but I haven't come across anything that has really spelled it out for me from step 1. I have Visual Studio 2005 Professional. I will be starting a new wi...

How to test HttpApplication Object with HttpApplicationState

I am trying to test a 'plugin' for an ASPNET HttpApplication that is loaded on Application_Start. The code is something like this: private HttpApplication application; public void Application_Start(object sender, EventArgs e) { this.application = sender as HttpApplication; StartReportService(); } p...

Command line automation in C#/.NET -- expect equivalent.

There is a command line tool for which we need to write automated tests. Our test framework is written in C# and I was looking for .NET libraries which would let me do the automation (I know I can use the Process class; redirect the IO; do the validation, but I don't want to reinvent the wheel if possible). Ideally I'm looking for someth...

iPhone OpenGL fps test

Anyone can tell me how to get and display the fps (frame rate) of a running program on screen? ...

Does Python unittest report errors immediately?

Does Python's unittest module always report errors in strict correspondence to the execution order of the lines in the code tested? Do errors create the possibility of unexpected changes into the code's variables? I was baffled by a KeyError reported by unittest. The line itself looks okay. On the last line before execution halted, d...

Does anyone have any rules of thumb for esimtation of UAT effort - like what's a rule of thumb for number of scripts as compared to the number of business requirements?

I'm attempting to estimate the number or testers required to test out a project. One method is to determine the number of scripts that will be required and was wondering if there was a rule of thumb for number of scripts as compare to number of requirements. I'm estimating 2 - 3. 1 for a sunny day type test 1 for a negative test 1 for...

Any testing tools that can test a PowerBuilder app and a webapp?

I'm working on developing a webapp that will replace an existing PowerBuilder app. They should be functionality equivalent, and the requirements for the PB app are long gone. So the best way to test seems to be to input the same data into the same screens, and compare the output. If the PB output and the webapp output are the same, it's ...

How to do a focus group for a website

I have been developing a new online game for the past year now. The site has recently gone to beta testing and I am looking to go gold later this fall. I have heard from some people that they are confused when they first signed up, and it gave me the idea to hold a focus group of various types of people (such as gamers and non-gamers). I...

Open source tool to detect Qt controls - Automation

Is there any open source tool for detecting Qt controls? It can be used as part of automation the testing ...

ASP.NET WhiteBox Testing Tool

Can you please give me a whitebox testing tool for Asp.net ...

What book can I read to help me start a software testing company?

What book can I read to help me start a software testing company? I've read all the basic software testing books. Please don't point me to other basic software testing books. I would like to get a list of links or books on the business of software testing. ...

How do I test a file upload in rails?

I have a controller which is responsible for accepting JSON files and then processing the JSON files to do some user maintenance for our application. In user testing the file upload and processing works, but of course I would like to automate the process of testing the user maintenance in our testing. How can I upload a file to a control...

Convert C# Library To MSTest Project

I have some class libraries with NUnit tests, and I want to convert the project to use the VS 2008 MsTest integration. (Right click add test etc.) Is there and easy way to convert or do I need to edit the csproj manually. Thanks ...

Java Unit tests on methods that use third parties libs that don't use Interfaces

I'd like to know how do you test your methods if the libs you are using don't use Interfaces My class is like private ThirdParyClass thirdPartyClass; void myMethod() { AnotherThirdPartyClass param = "abc"; ... thirdPartyClass.execute(param); } I want to test that execute is called with the "abc" param. I was thinking in creating M...

How Configure Hibernate for develop Test

Hi every One, we are 9 programmer work on java Web application use hibernate framework, but we have problem by running(in run mode, debug mode) project each time we want test the project we must wait for Hibernate to create SessionFactory and all Relational Query! what should i do that Hibernate Work faster? ...

Different methodologies for solving bugs that only occur in production.

As one who is relatively new to the whole support and bug fixing environment and a young programmer I had never come across a bug that only occurs in the Websphere environment but not on the localhost test enviroment, until today. When I first got this bug report I was confused as to why I couldn't reproduce it on the localhost test env...