testing

VS2008 Unit Test Project bugs...

Hi, I'm using VS 2008 Developer Edition and am finding some bugs with the Test Projects. I am getting one error that doesn't make sense - I have a class called 'Foo' which I need to test and created the blank test class automatically. Foo takes 3 paremeters in its constructor - IBar, IBaz, IBang. When I write a test case, I will Dim ...

Substitute reference to a remote script with local one

Hello, This is regarding my developmnent stage and the practice of testing all the JS before releasing it. Unfortunatly we have some hardcoded references in our code. and this is the reason why there is no way for me to test a new version of test.js on the Stage server. and you only see the effects when it goes live. Now, I know I sho...

Is there a right way to implement a continuous improvement (AKA software hardening) process?

Each release it seems that our customers find a few old issues with our software. It makes it look like every release has multiple bugs, when in reality our new code is generally solid. We have tried to implement some additional testing where we have testers do several hours of monthly regression testing on a single app each month in an...

Bad form for JUnit test to throw exception?

Hi. I'm pretty new to JUnit, and I don't really know what best practices are for exceptions and exception handling. For example, let's say I'm writing tests for an IPAddress class. It has a constructor IPAddress(String addr) that will throw an InvalidIPAddressException if addr is null. As far as I can tell from googling around, the test...

Does NUnit have a built in way of calling tests from another unit?

Hi, I need to call a Test from a different unit to use in my current unit (by unit I mean class). Does NUnit have infrastructure to do that or should I just keep doing what I'm doing; instantiating the class and invoking the method? Thanks! ...

Controller Test problems

Hi. I want to test a mvc controller. I'm using Moq to mock the services, but I don't know how to mock this.Request.Files["Attachement1"] and this.Server.MapPath("~/Temp") ("this" is the controller) I tried to create a new Mock<HttpRequestBase>(); but this.Request doesn't have a setter. Help me please with an advise. Thanks ...

How do I motivate stake holders to test the sprint delivered software?

One recurring problem we have in projects is the fact that the stake holders only start looking properly into the delivered software until the near the final release date even though we deploy the sprint result into the test environment every time and demo from it and keep reminding them that it's really important to get their feedback d...

What are good test automation frameworks?

I am looking for a tool to integrate many different types of automation and test frameworks in order to automate fully end-to-end scenarios for testing. For example, a typical workflow might be: Install an Operating System (Ghost, etc..) Configure the operating system (open firewall exceptions, setup users, etc..) Install Software (Vis...

Django Tests Printing instead of Returning Results

I'm suddenly running into an issue where docstring tests like this: """ >>> g = 5 >>> g 5 """ Would run and look like this: ... Installing Index for ModeName .... 5... Failed example: g Expected: 5 Got nothing In short, it's printing out the expected results instead of returning them! What would cause something like...

please compare QTP, RIATest , Selenium for Flex Application Automation Testing

please suggest which tool should i use - QTP, RIATest , Selenium for Flex Application Functional Automation Testing . please help me compare them with different advantages and disadvantages. any help appreciated ...

Checking for intersection points between two rectangles?

If I have two rectangles whose positions are deifned using two 2D vectors (i.e. top left, bottom right) how can I check for the points they are intersecting? ...

Using Jmeter to fill out a form?

Can anyone help me figure out how to use jmeter and force it to fill out and submit a form automatically? For example, I need to fill out the google search box and then click the I'm Feeling Lucky button? ...

FitNesse App.Config

I am having a hard time understanding: http://www.syterra.com/Fit/AppConfigFiles.html If my application and fixtures are in c:\Projects\App and FitNesse is running from c:\Projects\Sandbox\FitNesse I am assuming c:\mypath\myapp.exe.config would be c:\Projects\App[MyFixtureAssmbly].config, but I am unsure of what c:\myfolder\mysuite.con...

Is there a hot key for "go to test" in eclipse

In Netbeans there's "Navigate => go to test" which navigated to a class named currentClassTest if it existed (within the current maven structure). Anybody know if such exists in eclipse? Or how to setup a hot key for such? Sorry I'm somewhat of an eclipse newbie and this one escape google somehow. Thanks. ...

Android tests without emulator

Is it possible to run some android tests for example: AndroidTestCase without using emulator? ...

Static testing for Scala

There are some nice libraries for testing in Scala (Specs, ScalaTest, ScalaCheck). However, with Scala's powerful type system, important parts of an API being developed in Scala are expressed statically, usually in the form of some undesirable or disallowed behavior being prevented by the compiler. So, what is the best way to test whet...

What should a tester report?

I have a web site I am building for a client. I now have a tester on the project with me. I feel testers are needed. REALLY! I cannot test my own code. I also appreciate the value of a new set of eyes. But what desires reporting? It is easy to say everything should be reported, but I don't have someone between me and the tester to filt...

is there any way to automatically run a test suite from within Selenium IDE upon opening firefox?

I would like to create a script or a batch file on windows that automatically opens Selenium IDE (plugin) and opens and runs a test file. ...

Is there a site that does nothing but spit out whatever POST form parameters were sent to it?

Is there a site online available to the general public that does nothing but display whatever form variables (name-value pairs) were sent to it via POST? Yes, it's very simple and I have already made one myself, the question is to see if there is something generally available in case my box is down or I am working with someone else and ...

Hallway usability testing: How much of the UI do you actually make functional?

When doing hallway usability tests do most of you make your apps fully or near fully functional? Or do you just make sure the links or flow chain correctly? Or do you just draw on paper and go with that? I'm would like to test early on a prototype and am trying to find a good balance. But at the same time am worried that some non functi...