Ruby Unit Testing

Unit testing is a great way to catch errors early in the development process, if you dedicate time to writing appropriate and useful tests. As in other languages, Ruby provides a framework in its standard library for setting up, organizing, and running tests called Test::Unit. There are other very popular testing frameworks, rspec and cucumber come to mind.

Specifically, Test::Unit provides three basic functionality:

  1. A way to define basic pass/fail tests.
  2. A way to gather like tests together and run them as a group.
  3. Tools for running single tests or whole groups of tests.

Aspose.Email Cloud

Aspose.Email Cloud’s platform independent email manipulation API is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python,

jQuery and many more. You can use it with any platform — web, desktop, mobile, and cloud. Aspose.Email Cloud allows developers to provide capabilities of processing email messages in their applications.

We are pleased to announce the addition of Unit Tests for all the methods of Aspose.Email module. We will keep adding more unit tests for rest of the modules to make SDK robust.


You can downloaded latest version from

Usage Examples

You can find usage examples for Aspose.Email module on our wiki.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.