» Test Patches for vvvv
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Test Patches for vvvv

Patchers of vvvv!

We've been meaning to share this with you for a while now. It bugs me that it took us so long, because we're using it internally for a few years already, but better late than never... And most of you will not even find it that exciting but everyone should understand that this is an essential thing to improve the stability of vvvv over time:

Test Patches

In order to prevent certain bugs from resurfacing again after they've been fixed, vvvv has a test framework. The framework consists of a couple of nodes and a simple template that test-patches have to follow to test for a specific known bug. Everytime the vvvv build-server creates a new alpha-vvvversion it also runs all available test-patches. If any of the test-patches fails, the build is not being released and the devvvvs are being informed about the problem.

The template for test-patches
to be found in \lib\nodes\Template test.v4p
in latest alphas and betas >= 35.4

Please help us

By providing such a test-patch for bugs you find in nodes that come with vvvv or the addonpack you can help ensure that this particular bug will not resurface again after it has been fixed once.

Basically creating a test-patch is not more difficult than creating a help-patch. The Test Framework page explains everything in detail and of course please let us know if you have any questions.

What about vl?

Yes, our buildserver is also running test-patches for .vl already. We'll let you know how to contribute to those when we're opening up the contributions for VL libraries.


So from now on whenever you're writing a bug-report in the forum please consider demonstrating the bug with a test-patch in order to help us identify the problem quicker and also make sure to prevent it from resurfacing again through other seemingly unrelated changes.

joreg, Wednesday, Mar 15th 2017 Digg | Tweet | Delicious 2 comments  
velcrome 16/03/2017 - 23:09

This sounds super useful! Not as in use-it-now-for-instant-gratification, but much more long term.

I usually just visually check a bunch of patches, when I update e.g. Message internals, just to make sure all plugins still behave the way intended.

But the bare c# stuff, that gets tested automatically with every compile, both local and in the cloud. It sounds silly, but doing the effort of unit testing replaces the timid stress of reshaping core code with relieved boredom.

I had a look into the page you linked, but could not find the testing rig itself. Did you share it somewhere else? Many packs could increase quality with a test bed like that, even if it were a local-only thing for now.

joreg 16/03/2017 - 23:58

good point, i added the info about the test-rig to the Test Framework page.

  • 1

anonymous user login

Shoutbox

~8d ago

joreg: Last call: 6-session vvvv beginner course starting November 4: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~22d ago

joreg: Missed the last meetup? You can rewatch it here: https://www.youtube.com/live/MdvTa58uxB0?si=Fwi-9hHoCmo794Ag

~22d ago

theurbankind: When is the next big event, like node festival ?

~25d ago

~26d ago

joreg: Join us for the next vvvv meetup on Oktober 17th: https://visualprogramming.net/blog/2024/25.-vvvv-worldwide-meetup/

~1mth ago

joreg: 6 session beginner course part 2 "Deep Dive" starts January 13th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-ii/

~1mth ago

joreg: 6 session beginner course part 1 "Playground" starts November 4th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~1mth ago

joreg: Save the date: Oktober 17: vvvv meetup in Berlin!

~1mth ago

joreg: 12 session online vvvv beginner course postponed to start November 4th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-class/

~1mth ago