Behaviors with MSpec

In my previous posts, I showed the syntax for context/specifications using Machine.Specifications (or MSpec for short) and how to use an auto mocking container in conjunction with this excellent Behavior-Driven Development (BDD) framework. For this post, I want to show you one of the nice features of MSpec called behaviors. Suppose we have to create […]

Read More

Silverlight 4 – Accessing System Devices with Com Interop, such as a Scanner.

Yesterday I gave a presentation on some new features in Silverlight 4.  During this presentation I mentioned the newly available ability to interoperate with Office applications such as Outlook and Excel though the new ComAutomationFactory that is in Silverlight 4.  Someone in the audience asked the question, ?Can I access my scanner?, and of course […]

Read More

Shut Up, Bob

Category:UncategorizedTag: :13 Comments on Shut Up, Bob

Some of us are hurting our profession with the casual way we treat language. In the following examples, that guy is Bob. Scenario 1 Bob: “Hey, where should we go to lunch?” Joe: “I dunno, get in the car and we’ll decide later.” Bob: “Yeah, we’ll just be agile about it.” Giggle, giggle. Tee hee […]

Read More

PowerShell – background task that speaks to me

Category:General PostTag: :

Today I was testing a long running task where my basic scenario was to execute at the PowerShell prompt. C:\dev> LongRunningTask.exe > Test1.txt C:\dev> LongRunningTask.exe > Test2.txt C:\dev> LongRunningTask.exe > Test3.txt Change some code and do it all over again. C:\dev> LongRunningTask.exe > Test4.txt C:\dev> LongRunningTask.exe > Test5.txt C:\dev> LongRunningTask.exe > Test6.txt Although seemingly simple […]

Read More

Find me

RSS
Facebook
Twitter
LinkedIn

Disclaimer

The opinions and content expressed here are my own and not those of my employer.