scenarios

Virtual Constructors.

Is there any need of Virtual Constructors? If so can any one post a scenario? ...

Good examples for teaching database design

Does anyone have any good scenarios for teaching relational databases and SQL? All the examples I can find are either trivial or have improbable domain constraints (like full name being unique). I'm especially trying to find some good examples for normalisation: tables that don't immediately fit 3NF and BCNF. At the moment I'm using a...

Standard Documents or Software to write Test Scenarios (or functional tests)

Are there standard documents around to write Test Scenarios (or functional tests/ acceptance tests)? Maybe software to input the scenarios and check them if passed... Now we use Word or Excel to do this but having a system to track the results of previous test scenarios would be usefull. thx, Lieven Cardoen ps: The tests are pure func...

How to write stories / scenarios in BDD ( Behavior Driven Design )

I am about to use BDD (Behavior Driven Design) for the first time and am trying to get used to this different way of approaching a problem. Can you give some stories / scenarios that you would write for say a simple login application using BDD? For example, from what I have read, it seems that: “When a user enters an invalid user...

LINQ - Need help with a statement/ scenario

Here's the scenario: Given a List of Outputs each associated with an integer based GroupNumber. For each distinct GroupNumber within the List of Outputs starting with the lowest GroupNumber (1). Cycle through that distinct group number set and execute a validation method. Basically, starting from the lowest to highest group numbe...

Multithreading - Avoiding and dealing with database deadlocks

I am looking for a good strategy of dealing with database deadlocks from within a Java 6 application; several parallel threads could, potentially, write into the same table at the same time. The database (Ingres RDMBS) will randomly kill one of the sessions if it detects a deadlock. What would be an acceptable technique to deal with the...

Best WCF config based on scenario

Hello, Please recommend best approach (bindings, encoding, transport, etc) based on the following WCF scenario and requirements: Both client and service are WCF 3.5 based. Client and service will communicate thru Internet over SSL port 443. WCF Client (a Windows Service) is on w2kx server behind firewall/NAT. Client will initiate ...

UML scenario example

How are scenarios expressed? I think they're linked to use-cases but I'm not sure and I'm seeking some good examples or a document that can serve as a template. ...

distributed unit testing/scenario based unit testing with boost.test

Hello, I am developing unit test cases for an application using Boost.test libraries. There are certain APIs which can directly be tested. But, there are APIs which require interaction between test machines. So for example, execution of a certain API in machine 1 should trigger an API in test machine 2 and its response needs to be use...

Used Background for some Scenario

Feature: list video in stored Background: Given I have the following videos | title | format | | Running Central Park in the Fall | BluRay | | Running Glacier Park in the Spring | Download | | Running Balboa Park in the Winter | DVD | ...