Archive for 11:03 AM

0

COMMENTS

Add current_user to Cucumber step definitions

Cucumber provides a great way to apply BDD during your rails development.
Sometimes you need to populate your testing database with background data and sometimes you need to access the
1current_user
method.
Generally
1current_user
is a method defined in the
1ApplicationController
class or in a user related module.
So it’s not accessible to Cucumber’s scenarios: let’s add it and share to all step definition’s [...]

GO
0

COMMENTS

Implement custom events in .NET framework

Hello everyone,
In today’s post I would like to explain how to create .NET custom events. The .NET framework provides specific objects that enables simple creation and use of events.
The events allow to an object (or class) to let know other classes or other objects when a specific occurrence occurred. The class that generates and sends [...]

GO

Copyright 2012 DevInterface s.n.c.

DevInterface Blog is proudly powered by WordPress