testing

How can I test the markup validity of a string (webpage) in .Net?

I've written a VB.Net page to browse my site. It stores the HttpWebResponse in a string. How can I validate the markup validity of the page in .Net? - something similar to W3's validate by direct input option. I'm looking for something that can identify the DOCTYPE, validate it yes or no, and return a list of failures I can display. ...

Is there a good testing tool for web interfaces with support of VBScript?

I have to performs testing on an old legacy tools that's web based and make a huge use of VBScript, rather than JavaScript. So, yes, it's a IE-only tool. Usually, I tend to use WebTest to performs such testing, but it does not support VBScript, making it unusable in that case. So, is there a testing framework that support VBScript? (pl...

Can Visual Studio Test projects cope with events and delegates?

I am working on new functionality for a large C# project which is mostly legacy code. The area that I'm working on handles XML schema messages, creates a schedule for their transmission and places them into some legacy timer code which notifies me when they should be sent. Although I am new to them, Visual Studio test projects are provi...

I need a sample of python unit testing sqlalchemy model with nose

Can someone show me how to write unit tests for sqlalchemy model I created using nose. I just need one simple example. Thanks. ...

Where to find good test case templates/examples?

I'm trying to establish more formal requirements and testing procedures then we have now, but I can't find any good reference examples of documents involved. At the moment, after feature freeze testers "click through the application" before deployment, however there are no formal specification what needs to be tested. First, I'm thinki...

Where can I find a good beginners guide to user testing?

We've got a person from the business side on our team 1 day a week to assist with the UI testing. This is basic testing if the application works to as per requirements and what can we improve for the users. Obviously we want to get as much out of her as we can, so we're looking for a good introduction document to help her ramp up ASAP....

How to validate deployment packages created by msbuild? (preferably using mstest or nunit)

Our msbuild process creates a variety of zip packages for deployment (mostly web sites, but other things as well). We have a variety of recurring problems that keep sneaking back - files included that shouldn't be, missing resources. This screams for automated validation. The criteria to test for are simple Validation of foosite package...

PHP language (unit) tests

At the moment I am working (just for fun) on a kind of compiler that breaks PHP-code down to a source code for a low level VM. As the type system and a lot of of the PHP-features are not that logical I need a much testscripts to verify that my code behaves as it would in PHP. I started to test everything with the test from the PHP-sour...

Testing across multiple DBMS vendors

Take this query: SELECT * FROM MyTable WHERE MyColumn = 'SomeValue' ORDER BY SomeFakeQualifier.MyColumn DESC It seems that SqlServer just ignores the qualifier in this case. Should you add a JOIN, then it will consider it. This really isn't an issue, until you want to make your queries viable across DBMS vendors. Oracle, f...

relevance and benefit of a mocking framework to emulate various physical device

Hello Is a mocking framework a good idea for working with several physical devices, and mocking them ? The main goal of my compagnie is to interface our software with several brand of theater projector( barco, sony... ) , sound processor, IO controler ( barionet, wago ). Sometime the vendor give an API for the communication, sometime...

Plot (image) comparision tool for test automation?

IS there any open source tool available for plot comparison ...

i can do http://pc_name and smb://pc_name... to test my local site or use shared resources. anything similar that is so handy?

when testing out our machine for apache or SVN, i found that we can actually use http://pc_name when our computer is named "pc_name" and other PC on the same network can access that PC by that URL at port 80. and a mac can connect to my PC shared resources by Finder -> Connect to Server -> smb://pc_name these are great. are there ...

Test framework for [insert language here]

I am looking for a test framework to introduce automated tests for a language without much test support. As far as I can understand, I need a framework that's capable of running the VDF tests using some form of protocol. I would much rather spend my time writing tests than writing VDF code to interface with the test framework, so a light...

Way to specing simple model method

Right now I have a model function that is something like this: Class Address def first_line "#{self.building_name} #{self.street_name} #{self.suburb}".squeeze(" ").strip end end My address factory is define like this: Factory.define :address do |f| f.building_name "Alpha" f.street_name "Bravo St" f.suburb "Charlie" end ...

How to do Web Testing using Visual Studio 2008 Team Suite

Can someone point me to videos/blogs/instructions on using Web Testing in Visual Studio 2008 Team Suite and what it is? ...

TDD and DDD while still understanding the domain

When you are starting a new project from scratch using DDD, and still isn't very confortable with the domain, TDD comes at a price. While you're still understanding the details of the domain, you figure out a lot of stuff you've done wrong, like a method that makes more sense in some other class, or adding/removing parameters from a cons...

why do .net Database unit tests using TransactionScope and MSDTC fail ?

We have some unit tests running against a SQL server 2000 database using the DatabaseTestFixture (http://softwaredevscott.spaces.live.com/blog/cns!1A9E939F7373F3B7!155.entry ) class which uses a TransactionScope that is not commited and therefore all changes are rolled back. The tests ran against a local database with no problem. ...

Send Host header when accessing IP address in Firefox

This isn't really a programming question but more about programming and testing tools. Is there a way to get Firefox to send the header Host: mydomain.com when accessing a page at http://ip.address.goes.here/ so that Apache can route it to the correct VirtualHost? ...

Easiest free email server for Windows development

I'm developing a Java app on the Windows platform, and my application needs to send email. For development/testing purposes, what is an easy and free email server I can run on Windows? ...

How to test Netbeans 6.7 Plugin ?

I created a simple netbeans plugin (see this tutorial) and now i wanna test e.g. the Actionlistener. But how can this be done ? to be more specific what test frameworks suit netbeans plugin development ? how to create a test setup which emulates enough of netbeans e.g. to test the simple actionlistener ? Update a practical example...