Re: [Elementary-dev-community] Testing Round 2
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 (unfortunately, due to lack of time there is nearly nothing), for instance for scratch: http://bazaar.launchpad.net/~elementary-apps/scratch/scratch/view/head:/scratchcore/core-tests/main.vala http://bazaar.launchpad.net/%7Eelementary-apps/scratch/scratch/view/head:/scratchcore/core-tests/main.vala (and more generally all the scratchcore/ folder) I think there were a few things for marlin/pantheon files too, but I cannot remember wether it has been erased by some crazy merges or not. You can use accessibility features to do efficient testing, see mago, ldtp, at-spi: https://live.gnome.org/DesktopTesting http://ldtp.freedesktop.org/ (it looks like it is down at this moment but this is the most interesting one). I recommend you to not sart with Noise, it has a complex UI (code side), and it does some weird things when you try to do automation with it (I tested, at-spi was not strong enough to work with Noise if I recall correctly). Marlin/pantheon-files seems a better target for an experiment (the widgets are simplier). Inline replies below: On 06/04/2013 19:56, Craig wrote: Alright guys, I think it would be a good start to select an application and try to start writing tests with it. It seems like GLib's testing environment should be 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 noob) to get a project set up for tests. See scratch build systems and our custom cmake modules, it should be sufficient to do everything you want, and quite easily I think ;) (for someone who knows CMake reasonably). If someone would be willing to volunteer to get GLib's testing set up for Noise (or something else if they so desire) including a quick example test (so those of us with testing--but not Vala--experience can have a starting point), I would be willing to start writing tests and working with the project's primary developer(s) to get them started toward Test Driven Development (other developers with TDD experience also expressed interest). Unfortunately, starting unit testing means a lot of code reorganization, so this is actually the point that someone needs to work on. Writing tests once the API is clear is the easiest part -.- [...] My vision for this experiment is that someone can set up Noise (or some other project) for testing, and then I (and/or other volunteers) can start writing a few tests for it and sort of coach the developers in TDD for the purpose of getting the developers to a self-sufficient state before potentially moving onto another project and doing the same. Thoughts? In my opinion, writing a few blog posts would be also an interesting thing, there are very few good articles about GUI testing for Vala/GTK/CMake. Lucas -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp
[Elementary-dev-community] Better HIG layout
Hey guys, Our HIG feels a little abstract right now. It communicates the ideals but gives little idea about how to implement the recommendations. I thought it would be cool to include example code that implements the recommendations in Vala/GTK/Granite. For example it's hard for me to get all the padding right in http://elementaryos.org/docs/human-interface-guidelines/ui-toolkit-elements/windows/dialogsor implement proper handling of background tasks (btw, are we updating the relevant HIG article or not?). A side-by-side layout where you can see the recommendations AND example code that implements them would be great IMO. Thoughts? -- Sergey Shnatsel Davidoff OS architect @ elementary -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp
Re: [Elementary-dev-community] Better HIG layout
That would be perfect, also, in some way those templates could be somehow implemented in Tom Beckmann's elementary Studio. As you state, sometimes it can be difficult to interpret coding guidelines without a tangible example. +1 On 7 Apr 2013 14:33, Sergey Shnatsel Davidoff ser...@elementaryos.org wrote: Hey guys, Our HIG feels a little abstract right now. It communicates the ideals but gives little idea about how to implement the recommendations. I thought it would be cool to include example code that implements the recommendations in Vala/GTK/Granite. For example it's hard for me to get all the padding right in http://elementaryos.org/docs/human-interface-guidelines/ui-toolkit-elements/windows/dialogsor implement proper handling of background tasks (btw, are we updating the relevant HIG article or not?). A side-by-side layout where you can see the recommendations AND example code that implements them would be great IMO. Thoughts? -- Sergey Shnatsel Davidoff OS architect @ elementary -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp
Re: [Elementary-dev-community] Better HIG layout
Should the example code be in the HIG or the granite doocuentation? Maybe we could link to the API reference for our own wigdets, and demonstrate techniques like padding and background tasks in the HIG itself? On Sun, Apr 7, 2013 at 6:03 PM, Sergey Shnatsel Davidoff ser...@elementaryos.org wrote: Hey guys, Our HIG feels a little abstract right now. It communicates the ideals but gives little idea about how to implement the recommendations. I thought it would be cool to include example code that implements the recommendations in Vala/GTK/Granite. For example it's hard for me to get all the padding right in http://elementaryos.org/docs/human-interface-guidelines/ui-toolkit-elements/windows/dialogs or implement proper handling of background tasks (btw, are we updating the relevant HIG article or not?). A side-by-side layout where you can see the recommendations AND example code that implements them would be great IMO. Thoughts? -- Sergey Shnatsel Davidoff OS architect @ elementary -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp
Re: [Elementary-dev-community] Better HIG layout
elementary Studio is setup to accept a wide array of templates. It would be no issue including them. When the sample code is made I can create the templates and include them. ATM elementary Studio is looking at a public June release; will a new HIG be done by then? Also it may be beneficial to get some sample code in the granite valadoc. - elementary Studio creator. On Apr 7, 2013 6:33 AM, Alfredo Hernández aldomann.desi...@gmail.com wrote: That would be perfect, also, in some way those templates could be somehow implemented in Tom Beckmann's elementary Studio. As you state, sometimes it can be difficult to interpret coding guidelines without a tangible example. +1 On 7 Apr 2013 14:33, Sergey Shnatsel Davidoff ser...@elementaryos.org wrote: Hey guys, Our HIG feels a little abstract right now. It communicates the ideals but gives little idea about how to implement the recommendations. I thought it would be cool to include example code that implements the recommendations in Vala/GTK/Granite. For example it's hard for me to get all the padding right in http://elementaryos.org/docs/human-interface-guidelines/ui-toolkit-elements/windows/dialogsor implement proper handling of background tasks (btw, are we updating the relevant HIG article or not?). A side-by-side layout where you can see the recommendations AND example code that implements them would be great IMO. Thoughts? -- Sergey Shnatsel Davidoff OS architect @ elementary -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp
Re: [Elementary-dev-community] Better HIG layout
By the way, Chris, sorry for confusing you with Tom. Regards. On 7 Apr 2013 16:49, Chris Timberlake gam...@gmail.com wrote: elementary Studio is setup to accept a wide array of templates. It would be no issue including them. When the sample code is made I can create the templates and include them. ATM elementary Studio is looking at a public June release; will a new HIG be done by then? Also it may be beneficial to get some sample code in the granite valadoc. - elementary Studio creator. On Apr 7, 2013 6:33 AM, Alfredo Hernández aldomann.desi...@gmail.com wrote: That would be perfect, also, in some way those templates could be somehow implemented in Tom Beckmann's elementary Studio. As you state, sometimes it can be difficult to interpret coding guidelines without a tangible example. +1 On 7 Apr 2013 14:33, Sergey Shnatsel Davidoff ser...@elementaryos.org wrote: Hey guys, Our HIG feels a little abstract right now. It communicates the ideals but gives little idea about how to implement the recommendations. I thought it would be cool to include example code that implements the recommendations in Vala/GTK/Granite. For example it's hard for me to get all the padding right in http://elementaryos.org/docs/human-interface-guidelines/ui-toolkit-elements/windows/dialogsor implement proper handling of background tasks (btw, are we updating the relevant HIG article or not?). A side-by-side layout where you can see the recommendations AND example code that implements them would be great IMO. Thoughts? -- Sergey Shnatsel Davidoff OS architect @ elementary -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp
Re: [Elementary-dev-community] Message via your Google Profile: Question about development
Hi Dave, I'm actually not a desktop developer, but I'm very involved with the people who are. In fact, I've gone ahead and CC'd the elementary Developer Community mailing list on this reply. ;) elementary uses Vala https://live.gnome.org/Vala as our primary programming language and our apps utilize GTK+ http://www.gtk.org/ as our toolkit. You can check out what sorts of other technologies we utilize herehttp://elementaryos.org/developer/tech . One cool thing we're working on is an official developer guide. We don't have a ton of it completed at this point, but what we do have is available on a preview of our new website herehttp://master.elementaryos.org/docs/read/code. We're actually actively writing it over the next few days, so you might be able to get started and keep up with us as it's written. So far, it covers setting up a simple hello world project, introduces how we do distributed development, and talks about packaging your apps up for other users. (There is also an older massive community-written developer guide draft, but it gets pretty confusing. We're using bits and pieces of it as a reference for the official one, so you're better off just using the official one.) Lastly, feel free to keep in touch with our developers! You can join the mailing list https://launchpad.net/~elementary-dev-community (bottom-left of that page) and/or join us via IRC in #elementary-dev on irc.freenode.net. We're always happy to see new faces and help people along. Regards, Cassidy James On Sun, Apr 7, 2013 at 4:44 PM, Dave Bowlin davebow...@gmail.com wrote: Hey Mr. James, I see you work on the ElementaryOS development team. Do you mind telling me what programming language that consists of? I'm trying to get away from Windows coding and want to get started in Linux coding instead, and am pretty much lost. Thanks, Dave Bowlin - This message was sent to you from your Google profile. The sender does not have your email address. If you no longer wish to receive messages from your Google profile, you may edit your settingshttps://profiles.google.com/103492166723055469978/edit . -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp