testing

Creating Non-Destructive Software

From here I was shocked to learn the massive destructive capabilties of untested software (Read Ariane5 integer overflow and Therac -25). They say that not all software logical conditions can be tested in a lab environment, I don't know how true it is? What can I do to thoroughly test my software in the lab before it leaves for the field...

How to load + unload ASPNET runtime, without using bin directory, for automated testing purposes

I want to load the ASPNET runtime, run one or more pages, then unload it. This is for testing purposes. It's not UI testing; I'm really just testing the use of a library in an ASPNET context. Normally this kind of thing is done with a call to System.Web.Hosting.ApplicationHost.CreateApplicationHost . This is how I have it currently...

Software testing tools for testing web application

Hi, may I ask if there is any recommended tools for testing web application written in PHP, JavaScript, etc? Currently, I am doing a research to find out software testing tools for testing web application efficiently. May I ask if there is any recommended tools? Or is there any recommendation on what direction I may follow in doing a ...

Automated GUI Testing .NET CF (Windows Mobile 5)

My company is looking into using automated GUI testing for our current app before proceeding to alpha. Our current main focus is robustness testing, one way we want to achieve this is automated UI testing that can be repeated over several hours/days. For our desktop version we've decided on AutomationElement, and I've seen several free...

In Integration Testing, does it make sense to replace Async process with a Synchronous one for the sake of testing?

In integration tests, asynchronous processes (methods, external services) make for a very tough test code. If instead, I factored out the async part and create a dependency and replace it with a synchronous one for the sake of testing, would that be a "good thing"? By replacing the async process with a synchronous one, am I not testing...

How can I test a flash application?

I have a swf file that should execute network calls when the user clicks on various stuff in it (and then do certain things based on the results of the calls). What's my best option for automatically running tests to make sure that the flash application is behaving correctly? This is with ActionScript 8, btw. Not Flex. I'm experience...

Biased random number sources

I'm not sure what the appropriate terminology is, but in trying to run simulations, I always find it tricky to create good fake data. I don't have an particular application for this, but let's say I want to play around with some silly stock market predicting algorithm - if I were to just use a standard random number generator to get my ...

Performance Testing fundamentals

Hi. I have some basic questions around understanding fundamentals of Performance testing. I know that under various circumstances we might want to do - Stress Testing - Endurance Testing etc. But my main objective here is to ensure that response time is decent from application under a set of load which is towards a higher end or in leas...

How to work with JavaScript in development then live

I work on front end development and am looking to find a solution for working with javaScript between (non compressed and multiple files) development environment and (compressed and combined files) live environment. I have found a solution with CSS which means that I only need to include one global CSS file with imports, then we combine...

C++ interview - testing potential candidates.

I have to interview some C++ candidates over the next few weeks and as the most senior programmer in the company I'm expected to try and figure out whether these people know what they are doing. So has anybody got any suggestions? Personally I hate being left in a room to fill out some C++ questions so I'd rather do a more complex test...

fitnesse test suite with variables

I was wondering is it possible to set up a variable within the test suite so thatit can be passed down to the setup fit page as a parameter value ? ...

How to test if my pingback was successful?

Hi, I'm currently writing the pinging-back code of a blogging platform. Pingbacks work at localhost, but I want to test if they work when pinging a 3rd-party service. Is there any website or any other solution which will show me once it received a pingback from me? Thanks. ...

How do I get my Maven Integration tests to run

Hello; I have a maven2 multi-module project and in each of my child modules I have JUnit tests that are named *Test.java and *Integration.java for unit tests and integration tests respectively. When I exeucte: mvn test all of the JUnit tests *Test.java within the child modules are executed. When I execute mvn test -Dtest=**/*...

SOAP UI Pro vs Fitnesse, has anybody used SOAP UI Pro?

We are using Fitnesse for subsystem testing i.e. WCF & RESTful services. Now as writing Fitnesse test requires lot of effort, we are thinking of using SOAP UI Pro which gives this sort of facility. We are not 100% sure how much this is useful? Can anyone give suggestion of using SOAP UI against Fitnesse or if somebody has Pros & Cons ...

How can i test my webpage in different web browsers

I am designing my webpage and testing it in my default browsers that is IE8 and firefox 3.0. how can i test it with lower version. Is there anything which i can use to test in all versions. Iam having problem with height setting with different version of IE. for example my div height is 300px; when i view it in IE8 it looks okay, in I...

MVC DataAnnotations Testing

I have the following code in a partial class and I'm using LINQ to SQL: [Bind(Include = "OrderId,OrderTypeId,CustomerName,Price")] [MetadataType(typeof(OrderMetadata))] public partial class Order { } public class OrderMetadata { [DisplayName("Customer Name")] [Required] public object CustomerName { get; set; } } I'm tr...

Automated testing of rendering in browsers

Can Selenium or any other automated tool check for the proper positioning of elements on a web page? For example, when you look at OnStartups.com in IE 6, the main content that is supposed to be to the right of the menu is below it instead and you have to scroll down to read it. Can you query and get the coordinates of the div as they ...

How to test whether application handles slow/flaky filesystems properly?

I want to ensure that my application doesn't have any UI freezes when working on files on slow filesystem (e.g. networked, CD/DVD or spun-down HDD). I'm using Cocoa filesystem operations directly. I'm afraid it would be too much effort to mock or abstract all of it just for testing, and besides there could be non-obvious ways in which m...

Array.filter to dynamically test values

Hi, this is from Adobe docs: package { import flash.display.Sprite; public class Array_filter extends Sprite { public function Array_filter() { var employees:Array = new Array(); employees.push({name:"Employee 1", manager:false}); employees.push({name:"Employee 2", manager:true}); ...

Monkey testing for iPhone?

Is there a tool for monkey testing for iPhone? Like in the simulator. ...