Author Topic: Vamp Plugin Tester: a simple test utility for plugin development  (Read 6427 times)

cannam

  • Administrator
  • Sr. Member
  • *****
  • Posts: 273
    • View Profile
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 »