Re: [Elementary-dev-community] Testing Round 2

2013-04-20 Thread Pál Dorogi
Hi, I have just subscribed to this list and saw this thread. satisfactory (see this: http://blog.remysaissy.com/2012/11/setting-up-unit-tests-in-vala-project.html); however, Vala's development environment is too complicated for me (a Vala I use similar setup and am using it heavily and it

Re: [Elementary-dev-community] Testing Round 2

2013-04-07 Thread xapantu
Hey, I do not really have the time to read the whole conversation, but a few points: An unfinished article on the subject (lack of time, etc...): http://xapantu.wordpress.com/2013/04/07/writing-tests-using-ldtp-for-elementary/ I have already implented a few tests in the past

[Elementary-dev-community] Testing

2013-04-04 Thread Craig
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

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Cassidy James
Individual comment from a non-dev who has just observed devs: it would seem we have no formal testing policy but that we gravely need one. Code is developed and requested to be merged by dev A, then dev B looks the code itself over. Hopefully at this point dev B would then build it and test the

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Dane Henson
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

Re: [Elementary-dev-community] Testing

2013-04-04 Thread David Gomes
Unit testing is boring to write so if we just said Everybody. Write unit tests. All Projects. Now. it would really take on. On companies and when developers are paid to work, they can write and put tests everywhere, but it's harder for us. For now what we just do is we test the interface, the new

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Cody Garver
Our m̶o̶s̶t̶ ̶e̶f̶f̶e̶c̶t̶i̶v̶e̶ only regression testing is in Files. It goes Cody, I think I fixed crash X and I add it to my list of crash report email titles I look for to reoccur. On Thu, Apr 4, 2013 at 8:25 AM, David Gomes da...@elementaryos.org wrote: Unit testing is boring to write so

Re: [Elementary-dev-community] Testing

2013-04-04 Thread David Gomes
We also had a regression on Granite the other day. It goes I fixed this bug and I tested that bug but then I didn't test crazy-weird behaviour and it turned out it broke some things. Of course, action has been taken to fix it, but it can't be merged yet. (sorry for sending this email to Cody

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Dane Henson
David, I understand where you're coming from and I have worried about that in the past. There are two approaches for Unit Testing. The strong approach is to figure out what you want the app to do (i.e. design the framework), describe that app's functions and libraries using tests, then write

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Sergey Shnatsel Davidoff
2013/4/4 Craig webe...@gmail.com Sergey, that looks very interesting, although I'm a little confused--what are the differences between your first link and Glimpse? My first link is my scripts for easily testing code proposed for merging. I created them to offload the burden of testing

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Sergey Shnatsel Davidoff
I strongly recommend anyone interested in automated testing to read through Martin Pitt's Ubuntu Dev Week session on the topic. He's the one responsible for most of unit testing in Ubuntu (he's also the author of Apport which we already use). His IRC nick is pitti and the session logs can be found

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Dane Henson
Here is another practical post I found interesting regarding setting up Unit Tests in Vala with Cmake: http://blog.remysaissy.com/2012/11/setting-up-unit-tests-in-vala-project.html I apologize for spamming the mailing list. On Thu, Apr 4, 2013 at 8:56 AM, Sergey Shnatsel Davidoff

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Jaap Broekhuizen
We do unit and behavorial testing at where i work, and i think it's great. Writing tests before you develop the actual feature really makes you think why your feature should do what and when it should do so. Maybe we could build vala tests for granite. That would mean we would have to write tests

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Craig
*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. - Dane Henson* * * Not only that, but I imagine it would garner quite a lot of

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Goncalo Margalho
Craig, thanks to make everything more clear. Unit test is not just having something to compare stuff but we need a great mocking system. Does anyone have links for that as well? On Thu, Apr 4, 2013 at 4:00 PM, Craig webe...@gmail.com wrote: *If anyone is interested in starting a Vala Unit Test

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Craig
If we can get a number of experienced test practitioners and Vala developers to commit to it, I wouldn't mind contributing to a test framework development. Would anyone else be interested? On Thu, Apr 4, 2013 at 10:13 AM, Craig webe...@gmail.com wrote: *Would it be feasible to create a Unit

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Goncalo Margalho
I would be interested but I'm not the best vala developer for sure. On Thu, Apr 4, 2013 at 4:40 PM, Craig webe...@gmail.com wrote: If we can get a number of experienced test practitioners and Vala developers to commit to it, I wouldn't mind contributing to a test framework development. Would

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Sergey Shnatsel Davidoff
I'm not so sure we need a solution bound to Vala specifically, because: 1. We have automated UI testing covered by Ubuntu's regression testing framework 2. We have D-bus testing coverted by Ubuntu's regression testing framework 3. Vala translates to C so we can use a C unit testing

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Goncalo Margalho
Sergey, how do you write code in Vala and write tests in C? it becomes too difficult for a developer, don't you think? On Thu, Apr 4, 2013 at 5:18 PM, Sergey Shnatsel Davidoff ser...@elementaryos.org wrote: I'm not so sure we need a solution bound to Vala specifically, because: 1. We

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Craig
+1 Sergey, that page is massive. Could you send us the interesting parts? On Thu, Apr 4, 2013 at 11:59 AM, Goncalo Margalho g...@margalho.info wrote: Sergey, how do you write code in Vala and write tests in C? it becomes too difficult for a developer, don't you think? On Thu, Apr 4, 2013

Re: [Elementary-dev-community] Testing

2013-04-04 Thread Craig
Nor am I. But I think the first step would be to explore what can be done with the existing tools (assuming there are any that are still supported). I find that I rarely need much more than a simple facility with the ability to create test cases and do setup/teardown so if we can find anything

[Elementary-dev-community] Testing new ISOs

2013-03-09 Thread David Gomes
Hello everyone, As many of you probably already know, we are now building ISOs again. This is great news, of course, but we need some testers for a couple of things on the new builds. 1. NVIDIA fixes 2. UEFI boot First of all, you can find the new ISOs

[Elementary-dev-community] Testing Dynamic Notebook

2012-06-12 Thread Tom Beckmann
Hi everyone, so finally I got a pure Gtk implementation of a dynamic notebook pretty much ready. It would be great if you'd try to integrate it in your apps to see if it works properly. If it does, it will go to granite. You can find it at *