Scan_Recognize

Ein Medienbruch ist bei einem Arbeitsprozess immer eine Herausforderung. Aus rechtlichen oder technischen Gründen ist eine persönliche Unterschrift manchmal unumgänglich. Das unterschriebene Dokument soll jedoch ohne Aufwand wieder in den elektronischen Arbeitsprozess zurückgeführt werden können.

Ocf|Recognition löst diese Herausforderung mit QrCodes. Auf das gewünschte Dokument wird an einer definierten Position ein QrCode aufgebracht. Dieser QrCode stellt im wesentlichen eine eindeutige ID (Guid) dar. Das Dokument kann dann ausgedruckt und unterschrieben werden. Mit Ocf|Recognition lässt sich das unterschriebene Dokument wieder einscannen, wird über den QrCode imagewiedererkannt und kann dem entsprechend in den elektronischen Arbeitsprozess wieder zurückgeführt werden.

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

On my way to “debugging” NUnit Tests with Enterprise Architect. I ran into issues with the NUnit Console runner – EA’s Debugger wouldn’t properly attach to it.

So I started investigating how I could make a very very simple NUnit runner to help me on that. During my research I found one helpful thread on Stackoverflow.com

What I did to solve my Issue:

First I converted my Test.dll to a Test.exe

image

Then I had to add 3 NUnit Refrences to this Project

image

Now with the hints from the Stackoverflow thread it was very easy to prepare a program.cs that would execute my tests.

image

The first line is pretty important as it set’s up the NUnit framework:

CoreExtensions.Host.InitializeService();

The rest is pretty straightforward – find the name – add to the Testpackage – and Execute:

SimpleTestRunner runner = new SimpleTestRunner();
TestPackage package = new TestPackage("Test");
string loc = Assembly.GetExecutingAssembly().Location;
package.Assemblies.Add(loc);
if (runner.Load(package))
{
          TestResult result = runner.Run(new NullListener());
}

I don’t care about the Results in my Scenario – as I collect the results from a second run with the console runner as described in my other post – for other scenarios it will be necessary to evaluate the results after the Tests are run.

Now running the Test.exe allows me to use Enterprise Architects Debugger just fine.

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

Lately I been investigating the options Enterprise Architect offers to record Sequence Diagrams from code, because we want to learn for LieberLieber AMUSE.

And I found a pretty interesting result:

It only takes into account “Classes” and not “Instances”.

There is two links that proved helpful – a video tutorial from Sparx Systems and a Blog post from Tom Peplow.
(weiterlesen…)

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

Inspired by a blog post from Roy Osherove – I wanted to be able to fire up additional build agents for peak times.

Yesterday Mario from Codeforce joined me to consult us on how to move Teamcity Agents into Amazon EC2. It took us two hours including lunch ;)

After our session Mario made a nice blog post on the Topic:

image

How to run the Build Process in the Cloud with Teamcity and Amazon EC2 « All about Cloud Computing

Now we can build LieberLieber AMUSE even faster ;)

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

Enterprise Architect from Sparx Systems allows you to integrate NUnit unit tests into your project. As the new build of EA (8.863) now supports .net 4.0 I revisited this functionality and prepared a little walkthrough.

All of this work has been done on Windows 7 x64 with Visual Studio 2010.  In order to have as little troubles as possible you have to go for the x86 version of the tools so everything works nicely. As EA is a x86 Application using the x64 Tools will not work.

In order run this you need at least NUnit 2.5.5 – where as I went with the latest Version NUnit 2.5.7

I prepared a simple demo solution in Visual Studio 2010 that consists of an Accounts an Accounts Test Project.

img3

(weiterlesen…)

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

Today I found a XAML Clipart gallery that can come very handy! It already contains 12000+ Cliparts: Xamalot – Free XAML Clipart

image

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

How to find out, if your app is running in an emulator, or on a real device?

In July’s beta, Microsoft has moved this property from System.Environment to Microsoft.Devices.Environment namespace.

//enum DeviceType contains: Device, Emulator
this.IsEmulator = (Microsoft.Devices.Environment.DeviceType == DeviceType.Emulator);
Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg