automated-tests

Visual Studio can't find 'Borland.Janeva.Services' when running tests

I have an asp.net mvc application with typical unit tests attached. When unit tests run on the main developer's machine, all is well. When the junior guy tries to run them it throws: Warning: Test Run deployment issue: The assembly or module 'Borland.Janeva.Services' directly or indirectly referenced by the test container 'c:_code[m...

How to automate functional/integration tests and database rollbacks

Hello! In contrast to my previous question, i'll try to give my requirements. I am trying to find some framework/methodology/"thing" that would fit the following: Ability to write an automated test, preferably written in Visual Studio, using C#. Test should drive a web browser and interact with SUT just like an user would. Test shoul...

Test rails controller that respond in different formats

I have the following function in controller def by_xy @obj = BldPoly::find_by_xy(:x => params['x'], :y => params['y']) respond_to do |format| format.html { render :layout => false } format.xml { render :layout => false } format.json { render :layout => false } end and planning to w...

Adding additional make/test targets to an autotools project

We have an autotools project that has a mixture of unit and integration tests, all of which run via 'make check'. This isn't ideal, as some of the integration tests take a while, and have all sorts of dependencies (database, etc.) I'd like to separate the integration tests and assign them their own make target. That way, unit tests ca...

How much unit testing is a good thing?

(No "related questions" seem to nail this, so here goes.) I work on production code. Arguing for anything that isn't visible to the user is hard to do, sometimes. If sales can't see it, it's an external cost to them, and they'll argue against it unless there's a great reason not to. How much unit testing is a good thing? If you test...

Selenium command ordering for one-after-another JavaScript prompts

One script we have asks the user for a few values via successive JavaScript calls to window.prompt(). Selenium records this action, both the prompt texts and the values I typed in, but it doesn't seem to be able to play it back properly. It 'succeeds' in that no errors occur, but only the first prompt value actually makes it back to my...

General (non-server-specific) HTTP server test suite?

I'm looking for a test suite to test an HTTP server for standards compliance. The test suite should therefor not be server-specific, like Apache's HTTP server test suite. Any pointer would be greatly appreciated. Regards, Jochen ...

Can someone recomend me a simple tool for stress testing of web apps (with a popup windows support)

I have a relatively simple ASP.NET application which I need to stress test (e.g. run it in a simulated environment of 20 concurrent users). Even though app is relatively simple there a few places where it brings up a popup window with one button on it. When user clicks that button - a response return some text back to the pop up window....

How to automate by Firefox browser for functionality testing?

Hi all, i have to automate the firefox application to do a functionality testing, kindly help me which testing tool i can use thanks ...

Test Automation

We are moving to TSF 2008 and I am wondering if there is something in TFS 2008 that will automate test cases. I was looking into Test Automation FX for recording tests from our in-house built UI that we want to test. Any other recommendations? Thanks. ...

What alternatives exist for running QTP tests in batch?

We are in the process of implementing automated regression testing for our applications, and are looking for a solid batch-testing utility. We have QuickTest Professional 10.0, and it comes bundled with 'Test Batch Runner' which appears to be deprecated. It appears in previous versions there was 'Multi-Test Manager', which has been dis...

Automated link-checker for system testing

I often have to work with fragile legacy websites that break in unexpected ways when logic or configuration are updated. I don't have the time or knowledge of the system needed to create a Selenium script. Besides, I don't want to check a specific use case - I want to verify every link and page on the site. I would like to create an a...

Visual Studio Web Test vs. Selenium

This can be a very opinionated question. Please keeps your posts factual. What are the pros and cons of using Microsoft Web Test in Visual Studio? Conversely, what are the pros and cons of Selenium? ...

Test Impact on code change

Are there any tools (for C/C++) available to visualize the modules affected or the test cases to be executed when a block of code in changed. Example, If i modify few lines in a method of a class, I should be able to get metrics on number of calling methods, affected modules. Also If i have a traceability from Code-TestCase, can this...

Parse Fitnesse RESTFul XML output into TFS Test format

I'm integrating a Fitnesse Acceptance test suite into a TFS based CI process. I can run the Fitnesse Test suite in a RESTful manner (http://fitnesse.org/FitNesse.UserGuide.RestfulTests): http://myfitnesseserver/MyTestSuite?suite&format=xml and get back an XML document of test results. I'd like to transform that into a format th...

Unit Testing a large method

Following Test-Driven Development that is. I've recently implemented a algorithm (A*) that required a clean interface. By clean all I want is a couple of properties and a single search method. What I've found hard is testing the search method. It contains around five steps but I'm essentially forced to code this method in one big go ...

Are there BDD/TDD tools for developing in VB.NET?

I am responsible for rewriting an internal tool for my company. I am currently reworking the most time consuming step to run faster which should give me time to re-think the design of the application for a full rewrite as the interstitial version will meet the current needs. I really want to take this opportunity to implement this code...

What is Robot Army Testing?

What is Robot Army Testing? Where is it used? How can I learn it? ...

Visual studio 2008 (vb.net) test project and user settings

Good afternoon all. I've created a test project, and added some user settings to it. I'd like to do this because one of the tests changes a setting, and other tests read that settings. However, I find that my user settings will not save (ie my.settings.save does nothing) - well, if it does, then its not persisting because when I end th...

How to test JBoss deployment automatically?

I have jboss application. And want to test deployment automatically. And want to add this task as a project in Hudson My vision is based on the following stages: Put my application to JBoss(copy ears, configs, libs e.t.c) Run JBoss I have a Linux-machine and now our project is require JBoss 4.3.2. How can I run the JBoss and analyze...