AF Unit Test Helper

An easy way to unit test actors

AF Unit Test Helper is a class that is designed to make unit testing of AF Actors easier.  It allows you to launch an actor and retrieve messages without creating another actor.  It allows you to create/destroy a message queue, create self-addressed messages, launch an actor, send the actor messages and retrieve messages from the message queue.

It installs as a VIPM package.  You can download a copy here. You just drop the VIs from the palette into your favorite unit test tool.  The example below shows it being used with JKI’s Caraya.