Search code examples
cunit-testingvala

Unit test framework for Vala


I am thinking of developing an application using Vala. I would like to write unit tests for my code - but I have not (as yet) found any actively maintained unit test frameworks for Vala (e.g. Valadate).

Could anyone recommend a unit testing framework for use with Vala?

As an aside, given the relative 'newness' of Vala, can Vala be considered production ready - are there any known enterprise apps out there developed in Vala?


Solution

  • There is a simple unit test facility already built into Vala: GLib.Test.

    Unity, the user interface for the Ubuntu desktop, is partly written in Vala (the rest is C++.)