Vamp Plugins Forum
May 21, 2012, 21:24:38 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Vamp Plugin Tester: a simple test utility for plugin development  (Read 2232 times)
cannam
Administrator
Full Member
*****
Posts: 189


View Profile
« on: March 20, 2009, 16:24:12 »

Announcing v0.1 of the Vamp plugin tester, a simple program that loads and tests Vamp plugins for various common failure cases.  It can't check whether you're getting the right results, but it can help you write more resilient and better-behaved plugins.

Source code:
http://downloads.sourceforge.net/vamp/vamp-plugin-tester-0.1.tar.bz2

OS/X universal binary:
http://downloads.sourceforge.net/vamp/vamp-plugin-tester-0.1-osx-universal.tar.bz2

Windows binary:
http://downloads.sourceforge.net/vamp/vamp-plugin-tester-0.1-win32.zip

There is some documentation in the README file, but the short version is that you run it at a command prompt with the library name and plugin name, colon-separated, as an argument:

$ ./vamp-plugin-tester vamp-example-plugins:spectralcentroid

... and see what it has to say about your plugins.  It may also crash; if it crashes in the middle of one of its tests, that usually means that your plugin has crashed when faced with some unexpected input (run it in a debugger, or a memory checking utility if you have one, to find out where).

This tester does report some genuine bugs when run against several of the existing Vamp plugins.  I'll be aiming to make some fixes where I'm able.

This is only the first release, so it's quite likely that the tester hasn't been tested enough itself yet.  Report any problems here, please!


Chris
« Last Edit: September 25, 2009, 16:13:24 by cannam » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!