[LAD] Testdriven development with JACK?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Wednesday, July 27, 2011 - 10:24 pm

Hi!

This question could have also been asked on jack-devel, but since LAD
probably has a broader audience:

I recently started hacking on a jack-driven matrix mixer (goals so far:
GUI, maybe network controls (OSC?), maybe LV2 host), and I wonder if
there are "frameworks" for test-driven development, so I can come up
with unit and acceptance tests while implementing new functionality.

Has anyone ever done test-first with jack? One could start jackd in
dummy mode with a random name, start some clients, wire inputs to
outputs and compare the generated signal to the expected result, maybe
with some fuzzy logic to allow for arbitrary delays.

OTOH, if there are existing mocking libraries for jackd, things might be
a bit more straight forward (provide an input buffer to be returned by
jack_port_get_buffer, call the process function and check the result
that's written to the output buffer).

Any pointers will be highly appreciated.

Cheers
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Testdriven development with JACK?, Adrian Knoth, (Wed Jul 27, 10:24 pm)
[LAD] [RFC] jacksquat - a mock jack library (was Re: Testdri..., Gabriel Beddingfield, (Mon Aug 1, 12:25 pm)
Re: [LAD] Testdriven development with JACK?, Gabriel Beddingfield, (Thu Jul 28, 1:40 am)
Re: [LAD] Testdriven development with JACK?, Paul Davis, (Thu Jul 28, 2:04 am)
Re: [LAD] Testdriven development with JACK?, Gabriel Beddingfield, (Thu Jul 28, 3:35 am)
Re: [LAD] Testdriven development with JACK?, Robin Gareus, (Thu Jul 28, 7:02 am)
Re: [LAD] Testdriven development with JACK?, Tristan Matthews, (Fri Jul 29, 3:31 pm)
Re: [LAD] Testdriven development with JACK?, David Robillard, (Thu Jul 28, 3:03 am)
Re: [LAD] Testdriven development with JACK?, Gordon JC Pearce, (Fri Jul 29, 4:35 pm)