← Back to team overview

elementary-dev-community team mailing list archive

Re: Testing

 

Yes, testing is sorely needed.

I started down the path of finding the best solution for Vala Unit Testing,
but couldn't find any great options.  Currently, all projects that pursued
the xUnit (https://en.wikipedia.org/wiki/XUnit) model for Vala have fallen
out of development and only their shells remain.  I reached out to the
Yorba devs, who appear to hold a repository for the old 'valadate' project
but they are in the same position we are in.  I believe they have done some
testing with the built-in GObject unit test suite (
https://live.gnome.org/Vala/TestSample), but it has been found to be
severely lacking by anyone who knows anything about unit testing.

As with most OSS developers, I started to scratch that itch and realized
that it is a little bit beyond my skill set.  The code I started to write
remains unusable, rotting away somewhere on one of my hdd platters in a
folder called 'vunit'.  If anyone is interested in starting a Vala Unit
Test project under the umbrella of the elementary community, I'm sure we
could get quite a bit of traction from the Vala community at large and I
would love to help out.


On Thu, Apr 4, 2013 at 7:59 AM, Sergey "Shnatsel" Davidoff <
sergey@xxxxxxxxxxxxxxxx> wrote:

> This is what I've developed for testing:
> https://lists.launchpad.net/elementary-dev-community/msg01948.html
>
> I've also created Glimpse - a system for sandboxed testing, but it lacks a
> D-bus proxy which is needed for adding/removing apps via GUI. See
> http://shnatsel.blogspot.com/2011/07/weve-just-revolutionized-alpha-testing.htmland
> http://shnatsel.blogspot.com/2012/05/state-of-glimpse.html
>
> I don't think we have any unit testing in place yet. Midori probably has
> but that's it.
>
>
> 2013/4/4 Craig <weberc2@xxxxxxxxx>
>
>> Hello everyone,
>>
>> I'm curious what you devs do for testing? I'm not particularly familiar
>> with Vala, but I'm learning a lot about testing at work and I'm trying to
>> develop myself to that end in my free time. I'm sending this email because
>> I'd like to get a pulse on what you Elementary devs think about testing and
>> what you actually do to test your code. Also, please feel encouraged to
>> talk about what you've done in the past, what has/hasn't worked for you,
>> and generally what your philosophy is about testing (or whether you have no
>> philosophy). Individual comments and comments on behalf of elementary as a
>> whole are both welcome.
>>
>> Sound off!
>>
>> Thanks,
>> Craig
>>
>> --
>> Mailing list: https://launchpad.net/~elementary-dev-community
>> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~elementary-dev-community
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Sergey "Shnatsel" Davidoff
> OS architect @ elementary
>
> --
> Mailing list: https://launchpad.net/~elementary-dev-community
> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~elementary-dev-community
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References