Re: [Elementary-dev-community] Test Driven Development

2013-06-27 Thread Dane Henson
Sorry it took me a while to reply.  Honestly, it has been a while since I've looked at that code, so I'll have to refresh and make sure even I understand it.  I would definitely be willing to do a little screencast/hangout if it would help anyone. We might need someone to explain some of the f

Re: [Elementary-dev-community] Test Driven Development

2013-06-26 Thread Cassidy James
I'm game. It's pretty easy to use Hangouts on Air, but I can help out if needed. Regards, Cassidy James -- Sent from *elementary OS* . On Tue, Jun 25, 2013 at 9:51 PM, Craig wrote: > This is much-delayed, but would you mind doing a code-walk hangout > sometime, demon

Re: [Elementary-dev-community] Test Driven Development

2013-06-25 Thread Craig
This is much-delayed, but would you mind doing a code-walk hangout sometime, demonstrating how this whole test thing works? Could you go through a live example of writing a simple app and the tests for it, as well as how to execute the test? If that sounds too involved, I would be happy with anythi

Re: [Elementary-dev-community] Test Driven Development

2013-05-19 Thread Pál Dorogi
1.) Checked, thx. 2.) Yep, that's correct. 3.) Yep, that's nearly same what I have already said (Toolkits are quite stable, and if there is any bug in toolkit we need to get them fixed (or have some workarounds)) I just talked about TDD /wo GUI Testing as both of them can be independent from each

Re: [Elementary-dev-community] Test Driven Development

2013-05-19 Thread Pál Dorogi
Yep, you are right, we need both. but we currently do not have any GUI Testing framework /w Vala. Also, I meant by "we do not need any GUI test which is very hard to achieve" that we do not need to have any GUI Test to start applying TDD and if there is any bug in the toolkit which would affect t

Re: [Elementary-dev-community] Test Driven Development

2013-05-19 Thread Pál Dorogi
I have read it, but, it's not really what I talked about. The facts, that we need nice GUI Apps in eOS which should be written in Vala. Vala is a real OOP language therefore we could use it writing apps using OOP principles and can forget all the old fashioned programming in C things which is still

Re: [Elementary-dev-community] Test Driven Development

2013-05-19 Thread Sergey "Shnatsel" Davidoff
To everyone interested in implementing automated testing and QA procedures I highly recommend reading logs Martin Pitt's Ubuntu Dev Week sessions on the topic. They can be found at http://irclogs.ubuntu.com/2013/01/31/%23ubuntu-classroom.html, his IRC nick is "pitti". I've added some things he men

Re: [Elementary-dev-community] Test Driven Development

2013-05-19 Thread Pál Dorogi
I have just checked this Youtube video but it does not really make any clue for a new comer and I feel that they (new comers) will loose their interest in TDD as no any real life examples in that Video, but some (unnecessary) test methods which does not make any sense how could it be adopted it in

Re: [Elementary-dev-community] Test Driven Development

2013-05-08 Thread Craig
Hello again, Between attempting to fix a broken car and shopping for a new one, I haven't had much time to devote to this; however, I did come across this video as a quick primer. Take a look at it if you'd like to see a quick-and-easy example of TDD. http://www.youtube.com/watch?v=O-ZT_dtlrR0 E

Re: [Elementary-dev-community] Test Driven Development

2013-05-04 Thread Pál Dorogi
I have uploaded my stuffs to launchpad, so you can have a look at it at https://launchpad.net/dafproject The dafcore, dafui and dafvalidation projects have unit tests under test directory. On 29 April 2013 16:26, Jaap Broekhuizen wrote: > Pal, that looks very interesting, please do upload it to l

Re: [Elementary-dev-community] Test Driven Development

2013-04-29 Thread Pál Dorogi
Also, here comes a nice article about Objectum-Oriented Software Enginering (http://pl.cs.jhu.edu/oose/lectures/design-principles.shtml) which worth reading (one or two pages) and based on a really good, would say the best, book I have ever read about the DP (Head First Design patterns). On 30 Apr

Re: [Elementary-dev-community] Test Driven Development

2013-04-29 Thread Pál Dorogi
Sorry, "make ctest" --> "make test" On 30 April 2013 06:54, Pál Dorogi wrote: > Hi, > > The ctest has a lot of parameter as the "make ctest" just gives you a > simple output. Play a bit /w gtester and ctest either. > > I think the main raison is that TDD is forcing the developers to write > loose

Re: [Elementary-dev-community] Test Driven Development

2013-04-29 Thread Pál Dorogi
Hi, The ctest has a lot of parameter as the "make ctest" just gives you a simple output. Play a bit /w gtester and ctest either. I think the main raison is that TDD is forcing the developers to write loosely coupled code. Therefore, based on this you will just have advantages. You do not need to

Re: [Elementary-dev-community] Test Driven Development

2013-04-29 Thread Dane Henson
At this point, that might be the best course of action. They always say it's not about the framework, it's about whether or not you test. Maybe with more better informed developers, we will have a few tried and true methods in a few cycles that we can use as teaching tools. I would love to read yo

Re: [Elementary-dev-community] Test Driven Development

2013-04-29 Thread Craig
Given the novelty of TDD to many of elementary's developers, I think it might be useful to decouple TDD concepts from any particular framework. With that in mind, I think we should consider teaching TDD fundamentals with either no framework or one that has an insignificant learning curve. I'm consi

Re: [Elementary-dev-community] Test Driven Development

2013-04-29 Thread Jaap Broekhuizen
Interesting, I added your repo to the doc if you don't mind :) Met vriendelijke groet, Jaap Broekhuizen Aquamarijnstraat 273 9743 PG Groningen jaap.broekhuizen.nu jaap...@gmail.com 06 - 39 81 36 97 On Mon, Apr 29, 2013 at 3:11 PM, Dane Henson wrote: > Thanks for setting up that document.

Re: [Elementary-dev-community] Test Driven Development

2013-04-29 Thread Dane Henson
Thanks for setting up that document. I've already added a few things and commented a bit. I have been toying with GTest (GLib.Test) a bit, but haven't been substantially impressed by it yet. You can see my noodling with it at lp:~thegreatdane/+junk/agenda-tests

Re: [Elementary-dev-community] Test Driven Development

2013-04-29 Thread Jaap Broekhuizen
Pal, that looks very interesting, please do upload it to launchpad so we can have a closer look :) In te mean time, I have created a google document to have a central point of investigation for elementary automated testing. Feel free to add information to the doc whenever you can, but please keep

Re: [Elementary-dev-community] Test Driven Development

2013-04-28 Thread Pál Dorogi
Hi, You can use cmake for unit test as it supports GLib's test. I use MonoDevelop/Xamarin Studio for developing for huge projects coexists /w cmake (as MD/XS does not support cmake). MD is for rapid development but there is no internal Unit to support vala but C# (Nunit) and some other languages.

Re: [Elementary-dev-community] Test Driven Development

2013-04-28 Thread Lochlan Bunn
I have read alot about TTD, both in school and in persistent articles. I've used it to develop a small gui based game, and I can say that I liked the flow once I was used to it. I used JUnit & Eclipse, and that was all that was needed the whole time. So when it comes to elementary dev, and vala/gt

Re: [Elementary-dev-community] Test Driven Development

2013-04-26 Thread Craig
I agree wholeheartedly. And as Cassidy mentioned, we can use scratch as the incubation project. Would any devs be interested in volunteering to learn? Jaap, would you be interested in helping instruct? On Apr 26, 2013 3:25 PM, "Jaap Broekhuizen" wrote: > I also think implementing Behavorial test

Re: [Elementary-dev-community] Test Driven Development

2013-04-26 Thread Jaap Broekhuizen
I also think implementing Behavorial testing (applying BDD) is very relevant for us, as we are focussing a lot on user interface and interaction. So imo we should start on a project which we can use as a playground for both unit an behavorial testing. Does anyone know of good vala bdd frameworks?

Re: [Elementary-dev-community] Test Driven Development

2013-04-26 Thread Cassidy James
I don't think we need any convincing; everything I've heard from the devs is that we need to do this. It's just a matter of figuring out a common way of doing it. Craig, a relatively small/new project that could use testing is the new Scratch or even the new work going on with Contractor. Both are

Re: [Elementary-dev-community] Test Driven Development

2013-04-26 Thread Pál Dorogi
I dunno, I am a newbie here. On 26 April 2013 22:24, Craig wrote: > That's exactly what I'd like to know: how can I help. I can try and post > some tutorials, but I'd like to know who is interested and what the > development community already knows. > > On Apr 26, 2013 6:39 AM, "Pál Dorogi" wrot

Re: [Elementary-dev-community] Test Driven Development

2013-04-26 Thread Craig
That's exactly what I'd like to know: how can I help. I can try and post some tutorials, but I'd like to know who is interested and what the development community already knows. On Apr 26, 2013 6:39 AM, "Pál Dorogi" wrote: > Hi Craig, > > I agree 100% /w you, but I think you should write some tut

Re: [Elementary-dev-community] Test Driven Development

2013-04-26 Thread Pál Dorogi
Hi Craig, I agree 100% /w you, but I think you should write some tutorials and post them in your blog, if you have any. But in my opinion that the human beings do not like "re-learn" things and the real OOP, Design Patterns, SOLID, TDD etc. etc. are very steep and time for a non-real OOP/DP experi

[Elementary-dev-community] Test Driven Development

2013-04-26 Thread Craig
Hello everyone, I'm just leaving San Jose after having spent a week listening to a lot of smart people talk about, among other things, Test Driven Development (TDD). I know I keep harping on this, but among the people who write the coolest, best software (and other average software folks) TDD is s