Showing posts with label testing. Show all posts
Showing posts with label testing. Show all posts

Thursday, 22 December 2011

Some Testing

Essentials

Optimism is an occupational hazard of programming. Feedback is the treatment.

Kent Beck

TDD seemed so revolutionary when it test infected Jakarta (and most of the rest of Apache). This test automation proved a notable factor in the later success of Tomcat, Struts, Ant, Maven, Commons (and all the rest).


Tests bridge the gap between the language of the customer and the languages of software. encourages alignment by starting with the customer then working inwards towards code.



Fine-grain unit tests execute fast, exercising a unit in isolation. Loosely coupled, cohesive designs are easier to unit test, so unit testing rewards good object-scale design.


Coarse-grain tests, exercising integrated components execute much more slowly, even with appropriate techniques (for example, switching to an in-memory store). Component-scale integration tests encourage cleaner, more reusable API designs.


The outermost layer exercises assembled applications. Fidelity to customer configuration is essential, and often means filling heavyweight stores with data. Set up and tear down costs are almost always high for enterprise applications.


Reasonable coverage using slow running integration and application layer tests costs. Avoid disrupting development flow: separate integration and application suites, and run them outside this flow. Consider triggering after each . To avoid maintenance issues, integration test selectively, invest in good fixtures and use the language of the customer.


A wide variety of open source tools continue to emerge, with sweet spots spanning the space. So spike.

Tools like and Fitness use the language of the customer, a fine match for outer (application and integration) layers. Mocking frameworks efficiently create test doubles to isolate the unit from its environment, and to efficiently verify behaviour (but not at the same time as state).

Efficient tools for special topics abound, for example web applications, load testing, performance testing, Swing, data access, JavaScript and so on...

Selected

Seed
Read
Feed

Wednesday, 13 May 2009

13th May Agile Yorkshire - Ralph Williams: Exploratory Testing

Details

In this session, Ralph will provide an overview of some techniques that bring Agility into the world of testing. (The world of testing is a strange place: regarded by most people as a nice place to visit but you wouldn't want to live there, it is an unmapped wilderness where the waterfall methodology still roams unfettered.)

The main focus will be on one such technique, Exploratory Testing. It is defined by many as "simultaneous learning, test design and test execution", but Ralph will attempt to be more helpful. After the presentation many of you will claim this is what you have been doing all along, but now it has a fancy name you can use it without shame and companies can sell you high-priced consultancy in it.

Speaker

Ralph Williams is a Test Consultant at the Yorkshire Building Society, based in Bradford. The Society develops much of the application software used throughout its 140 branches and offices, and Ralph is responsible for managing the testing for some of these systems. He has previously worked in various management, testing and development roles at Erudine, Wanadoo and British Telecom, and specialises in Agile Testing and chocolate.

Tuesday, 7 April 2009

16th April, NWRUG - BDD, you know you should be doing it

So, you’re testing your code right? Of course you are! But are you
testing your code as well as it can be tested? This month Ashley
Moran, Testing Maven, will be giving a talk and practical session on
Behaviour Driven Development and how it should be done right.
We’re starting 30 minutes earlier this month due to the practical
nature of the session.

This month we have sponsorship from Engine Yard so there will be free
Pizza (and maybe Beer and soft drinks, depending on the numbers)
during the talks.

Schedule
• 6:00pm :: Welcome & Pre-session bar visit
• 6:30pm :: BDD, why you should be doing it and how. Pizzas provided
by Engine Yard will be served during the session
• 8:30pm :: Drinks at the BBC bar afterwards, then somewhere else
nearby after that closes at about 21:00.

Sign Up
If you would like to attend this event please email me
(nwrug AT willj.net) as the BBC need a list of attendees before the event
and I really need to know the numbers so I can order the right amount
of food and drink. This month I shall be publicly coating people with
blancmange who turn up without emailing me. You have been warned.

Location
This meeting is being held at one of our regular venues, the BBC
Manchester
main building on Oxford Road in central Manchester

You can find the exact same information on the NWRUG site

Search This Blog