testing

How is "clean" testing done on the Macintosh without virtualization?

One of the things I've run across on Windows is when a web browser plugin or program you're developing makes an assumption that something is installed that, by default, isn't always present on Windows. A perfect example would be .NET - a whole lot of people running Windows XP have never installed any versions of .NET and so the installer...

Can this [HTML tokenization/automatic template generation] be broken?

Consider the below HTML string <p>This is a paragraph tag</p> <font>This is a font tag</font> <div>This is a div tag</div> <span>This is a span tag</span> This string is processed to tokenize the text found in it and we get 2 results as below 1) Token Array : $tokenArray == array( 'This is a paragraph tag', 'This is a div ta...

Testing Mobile Sites

We are getting ready to launch a mobile site and are wondering what the best way of testing across as many mobile browsers as possible would be? This could be a company that does this sort of thing, or a way in which to do it in-house, we're not being picky. ...

Functional testing of a 3-rd party java program

I have a 3-rd party java application (I don't own source code) and I want to perform functional testing on it, similar to the way it's done in watin/watij/selenium/nunitforms etc. Can anyone suggest a library that I can use to do this sort of testing. What I'm interested in is clicking the applet's buttons, reading off text values, and t...

Testing on blackberry device - adding and removing app multiple times

It would be useful for many people to know how to completely remove an application from your device when testing. I have downloaded my app many times now, and likewise have deleted it many times. The problem is when deleting the app, it does not remove things like the persistent object related to my app, or the images downloaded through ...

Safari 5 vs. Safari 4 : Are there any compatibility differences?

I recently obtained a Mac so I could test our sites on Safari and Firefox for Mac OS. Now that Safari 5 is out, I'm not sure what I should do about upgrading. I presume what works on Safari 5 works on Safari 4, but I can't be sure, and vice versa. So, I don't know if I should upgrade and test on Safari 5 or keep on with Safari 4. Are ...

Integration tests - "no exceptions are thrown" approach. Does it make sense?

Sometimes integration tests are rather complex to write or developers have no enough time to check output - does it make sense to write tests that make sure "no exceptions are thrown" only? Such tests provide some input parameters set(s) and doesn't check the result, but only make sure code not failed with exception? May be such tests a...

Action works, but test doesn't (Shoulda)

I am trying to test my update action in Rails with this: context "on PUT to :update" do setup do @countdown = Factory(:countdown) @new_countdown = Factory.stub(:countdown) put :update, :id => @countdown.id, :name => @new_countdown.name, :end => @new_countdown.end end should_respond_with :redirect should_redirect_to(...

Prevent Django from running contrib tests?

Is there any way to prevent ./manage.py test from running tests on installed apps like django.contrib.auth? ...

Test Jboss JMS externally - outside of the application server

Hi All, I'm pretty new to the JMS functionality. I need to test a remote JMS which is on Jboss 4.2.1. I want to develop an external test (e.g from a main class) which sends and receives messages to/from the app. server. (I do have full access to the remote server.) My questions are: 1) How do I send messages to the Jboss JMS? 2) Wh...

Software testing terminology

Let say I have written a small program that reads file_A and file_B as input data of test_case_A and test_case_B, passes the input to component_X which needs to be test, then verifies result against predefined expectation. That component_X could be in the same process, or different process on another machine. I try to learn more about t...

Have a range of IE builds on test machine

I currently have a testing environment for web apps on a virtual machine. The problem - i would like to keep IE 6 for testing and also have access to newer versions of IE as well. How can i do this? Thanks. ...

Hide public method used to help test a .NET assembly

I have a .NET assembly, to be released. Its release build includes: A public, documented API of methods which people are supposed to use A public but undocumented API of other methods, which exist only in order to help test the assembly, and which people are not supposed to use The assembly to be released is a custom control, not an ...

Downloadable HTML Test Corpus

I am working on a browser plug-in for Firefox, and I would like to be able to do some automated testing to make sure that it's handling a variety of different HTML/JavaScript features correctly. Does anyone know of a good downloadable corpus of HTML and/or JavaScript pages that could be used for this type of testing? ...

Automating Internet Explorer w/o ActiveX

I've been automating some tests against a web application using Python and COM. My scripts send clicks to the browser to emulate user behavior and verify the results. I'm trying to find out if moving out of Python to .NET would benefit me much. I'm quite fond of C# as a development language. I've tried some existing tools like WatiN ...

Customizing setUp in PHPUnit

Hey all, I'm looking to run a bunch of tests with one object with different parameters in the setUp function. How do I do this? I tried using the @dataProvider, but that doesn't work with setUp I quickly found out.. Here's what I'd like to do (using @dataProvider): /* * @dataProvider provider */ function setUp($namespace, $args) { ...

Integration of System Tests in the build process

Greetings, I am again in a state of insecurity and discomfort with the development of my current master thesis. I am continuing the development of a serialization layer generator. The user enters a description of types (currently in XSD or in WSDL), and the software produces code in a certain target language (currently, Java and ansi ...

How are timed html forms, like the kind you encounter when doing online tests, properly coded using PHP, MySQL, HTML, CSS and JavaScript?

In other words, what technology would take care of doing the time tracking? Would it be the JavaScript? I don't see being able to keep track of such things with PHP. Here's what I need to accomplish: I need to have a long form spanning many web page reloads because it is pretty much an online test where each page load displays a new q...

Experimenting with data to determine value - migration/methods?

Hey guys, I have a LOT of data available to me, and want to capture and experiment with data that isn't currently being used in production. I do not want to immediately add this to my existing data store since that would undoubtedly mess with production. The obvious solution seems to be to make a copy of production data and integrate it...

Using custom Selenium server on capybara

I'm trying to use capybara and Selenium but with custom server for Selenium, for example I want to route the server to saucelabs.com, is anyone here are have try it before? Thanks b4 ...