[Elementary-dev-community] about TDD (Test Driven Development)

2013-09-03 Thread Daniele S.
I read some threads focusing on TDD, so I wanted to create one where we can continue that conversation without being offtopic. I'd say my two cent about TDD and elementary os development. In my opinion our current environment is obstile to TDD for serveral reason: 1. Vala doesn't support TDD out

Re: [Elementary-dev-community] about TDD (Test Driven Development)

2013-09-03 Thread Alex Lourie
*An:* elementary-dev-community@lists.launchpad.net *Betreff:* [Elementary-dev-community] about TDD (Test Driven Development) I read some threads focusing on TDD, so I wanted to create one where we can continue that conversation without being offtopic. I'd say my two cent about TDD and elementary os

Re: [Elementary-dev-community] about TDD (Test Driven Development)

2013-09-03 Thread David Gomes
Hi, Are weseriously having another thread on TDD? ~alourie said in this thread and very well: I believe that this has been discussed quite thoroughly already. For now, TDD as a development philosophy is not really appropriate for the eOS development. That is not a direct result of tools missing

Re: [Elementary-dev-community] about TDD (Test Driven Development)

2013-09-03 Thread Daniele S.
Sergey, Autopilot and Unit tests are not the same thing. In fact, from the same Autopilot documentation: Autopilot exists at the apex of the “testing pyramid”. It is designed to test high-level functionality, and complement a solid base of unit and integration tests. *Using autopilot is not a

Re: [Elementary-dev-community] about TDD (Test Driven Development)

2013-09-03 Thread Sergey Shnatsel Davidoff
We don't write backends so we shouldn't have anything to unit test. By far the most of the code we write deals with GUI and thus should be tested using Autopilot. Even if we do have something to *unit* test, the added complexity, higher entry barrier and the time spent writing first the unit

Re: [Elementary-dev-community] about TDD (Test Driven Development)

2013-09-03 Thread Sergey Shnatsel Davidoff
Please make your energy useful in more useful ways Dear TTD proponents, while you keep spending lots of time on writing these mails and the time of all the other devs on reading them, ~alourie is looking into Autopilot and experimenting with writing tests using it. I encourage you to follow

Re: [Elementary-dev-community] about TDD (Test Driven Development)

2013-09-03 Thread Daniele S.
ok then, https://code.launchpad.net/~oppifjellet/cable/message-history in this branch I implemented some basic tests on the feature I added ( message history on cable irc client ) using GLib.Test. Refer to my last commit (

Re: [Elementary-dev-community] about TDD (Test Driven Development)

2013-09-03 Thread Craig
What do you mean real apps? As long as the code executes, I don't see the value in the distinction. On Sep 3, 2013 2:30 PM, David Gomes da...@elementaryos.org wrote: also we're not talking on mere theory or philosophy; we posted real code, examples and documentation; also real-life experience.

Re: [Elementary-dev-community] about TDD (Test Driven Development)

2013-09-03 Thread David Gomes
also we're not talking on mere theory or philosophy; we posted real code, examples and documentation; also real-life experience. This is a sane discussion. We don't need hypothetical examples on hypothetical apps, we want real examples on real apps. On Tue, Sep 3, 2013 at 4:08 PM, Daniele S.