Re: [Sugar-devel] My GSoC Proposal for activity unit tests

2014-03-13 Thread Gaurav Parida
Hi,

Uptill now I have been successful in installing all the activities except
etoys(there is some file opeing error in the log)
and I can't find the repository named image as specfied in the list of
the activities at http://download.sugarlabs.org/sources/sucrose/fructose/

I thought that after the exams I would bug people on IRC and get the etoys
issue fixed and run it.


@ignacio


On Thu, Mar 13, 2014 at 5:23 AM, Ignacio Rodríguez nachoe...@gmail.comwrote:



 I like you'r apply, but by the way.. How do you do with Etoys? This is
 really weird!

 --
 Ignacio Rodríguez.


Have I missed something?
I am guessing that etoys is not at all supprted or what?


Thanks,
Gaurav
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My GSoC Proposal for activity unit tests

2014-03-13 Thread Sai Vineet
Etoys is not in Python, I think. How will you write tests? Will UI tests
work on it?


On Thu, Mar 13, 2014 at 11:36 AM, Gaurav Parida gparid...@gmail.com wrote:

 Hi,

 Uptill now I have been successful in installing all the activities except
 etoys(there is some file opeing error in the log)
 and I can't find the repository named image as specfied in the list of
 the activities at http://download.sugarlabs.org/sources/sucrose/fructose/

 I thought that after the exams I would bug people on IRC and get the etoys
 issue fixed and run it.


 @ignacio


 On Thu, Mar 13, 2014 at 5:23 AM, Ignacio Rodríguez nachoe...@gmail.comwrote:



 I like you'r apply, but by the way.. How do you do with Etoys? This is
 really weird!

 --
 Ignacio Rodríguez.


 Have I missed something?
 I am guessing that etoys is not at all supprted or what?


 Thanks,
 Gaurav

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My GSoC Proposal for activity unit tests

2014-03-13 Thread Daniel Narvaez
I don't think so, it's not using gtk.


On 13 March 2014 13:22, Sai Vineet saivinee...@gmail.com wrote:

 Etoys is not in Python, I think. How will you write tests? Will UI tests
 work on it?


 On Thu, Mar 13, 2014 at 11:36 AM, Gaurav Parida gparid...@gmail.comwrote:

 Hi,

 Uptill now I have been successful in installing all the activities except
 etoys(there is some file opeing error in the log)
 and I can't find the repository named image as specfied in the list of
 the activities at http://download.sugarlabs.org/sources/sucrose/fructose/

 I thought that after the exams I would bug people on IRC and get the
 etoys issue fixed and run it.


 @ignacio


 On Thu, Mar 13, 2014 at 5:23 AM, Ignacio Rodríguez 
 nachoe...@gmail.comwrote:



 I like you'r apply, but by the way.. How do you do with Etoys? This is
 really weird!

 --
 Ignacio Rodríguez.


 Have I missed something?
 I am guessing that etoys is not at all supprted or what?


 Thanks,
 Gaurav

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel





-- 
Daniel Narvaez
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My GSoC Proposal for activity unit tests

2014-03-13 Thread Gonzalo Odiard
Probably etoys would be out of the list of activities to test.

Gonzalo


On Thu, Mar 13, 2014 at 9:33 AM, Daniel Narvaez dwnarv...@gmail.com wrote:

 I don't think so, it's not using gtk.


 On 13 March 2014 13:22, Sai Vineet saivinee...@gmail.com wrote:

 Etoys is not in Python, I think. How will you write tests? Will UI tests
 work on it?


 On Thu, Mar 13, 2014 at 11:36 AM, Gaurav Parida gparid...@gmail.comwrote:

 Hi,

 Uptill now I have been successful in installing all the activities
 except etoys(there is some file opeing error in the log)
 and I can't find the repository named image as specfied in the list of
 the activities at
 http://download.sugarlabs.org/sources/sucrose/fructose/

 I thought that after the exams I would bug people on IRC and get the
 etoys issue fixed and run it.


 @ignacio


 On Thu, Mar 13, 2014 at 5:23 AM, Ignacio Rodríguez 
 nachoe...@gmail.comwrote:



 I like you'r apply, but by the way.. How do you do with Etoys? This is
 really weird!

 --
 Ignacio Rodríguez.


 Have I missed something?
 I am guessing that etoys is not at all supprted or what?


 Thanks,
 Gaurav

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel





 --
 Daniel Narvaez

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




-- 
Gonzalo Odiard

SugarLabs - Learning Software for children
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My GSoC Proposal for activity unit tests

2014-03-13 Thread Walter Bender
We could ask the Etoys maintainers to build us some  sort of dbus
interface we can work with. But I agree, it should be out of the first
batch of programs we test.

regards.

-walter

On Thu, Mar 13, 2014 at 8:36 AM, Gonzalo Odiard godi...@sugarlabs.org wrote:
 Probably etoys would be out of the list of activities to test.

 Gonzalo


 On Thu, Mar 13, 2014 at 9:33 AM, Daniel Narvaez dwnarv...@gmail.com wrote:

 I don't think so, it's not using gtk.


 On 13 March 2014 13:22, Sai Vineet saivinee...@gmail.com wrote:

 Etoys is not in Python, I think. How will you write tests? Will UI tests
 work on it?


 On Thu, Mar 13, 2014 at 11:36 AM, Gaurav Parida gparid...@gmail.com
 wrote:

 Hi,

 Uptill now I have been successful in installing all the activities
 except etoys(there is some file opeing error in the log)
 and I can't find the repository named image as specfied in the list of
 the activities at http://download.sugarlabs.org/sources/sucrose/fructose/

 I thought that after the exams I would bug people on IRC and get the
 etoys issue fixed and run it.


 @ignacio


 On Thu, Mar 13, 2014 at 5:23 AM, Ignacio Rodríguez nachoe...@gmail.com
 wrote:



 I like you'r apply, but by the way.. How do you do with Etoys? This is
 really weird!

 --
 Ignacio Rodríguez.


 Have I missed something?
 I am guessing that etoys is not at all supprted or what?


 Thanks,
 Gaurav

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel





 --
 Daniel Narvaez

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




 --
 Gonzalo Odiard

 SugarLabs - Learning Software for children



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My GSoC Proposal for activity unit tests

2014-03-13 Thread Daniel Narvaez
They could support the atk dbus interface (if I remember correctly it's not
gtk only) but it would likely be a lot of work...


On 13 March 2014 13:55, Walter Bender walter.ben...@gmail.com wrote:

 We could ask the Etoys maintainers to build us some  sort of dbus
 interface we can work with. But I agree, it should be out of the first
 batch of programs we test.

 regards.

 -walter

 On Thu, Mar 13, 2014 at 8:36 AM, Gonzalo Odiard godi...@sugarlabs.org
 wrote:
  Probably etoys would be out of the list of activities to test.
 
  Gonzalo
 
 
  On Thu, Mar 13, 2014 at 9:33 AM, Daniel Narvaez dwnarv...@gmail.com
 wrote:
 
  I don't think so, it's not using gtk.
 
 
  On 13 March 2014 13:22, Sai Vineet saivinee...@gmail.com wrote:
 
  Etoys is not in Python, I think. How will you write tests? Will UI
 tests
  work on it?
 
 
  On Thu, Mar 13, 2014 at 11:36 AM, Gaurav Parida gparid...@gmail.com
  wrote:
 
  Hi,
 
  Uptill now I have been successful in installing all the activities
  except etoys(there is some file opeing error in the log)
  and I can't find the repository named image as specfied in the list
 of
  the activities at
 http://download.sugarlabs.org/sources/sucrose/fructose/
 
  I thought that after the exams I would bug people on IRC and get the
  etoys issue fixed and run it.
 
 
  @ignacio
 
 
  On Thu, Mar 13, 2014 at 5:23 AM, Ignacio Rodríguez 
 nachoe...@gmail.com
  wrote:
 
 
 
  I like you'r apply, but by the way.. How do you do with Etoys? This
 is
  really weird!
 
  --
  Ignacio Rodríguez.
 
 
  Have I missed something?
  I am guessing that etoys is not at all supprted or what?
 
 
  Thanks,
  Gaurav
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 
 
 
  --
  Daniel Narvaez
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 
 
  --
  Gonzalo Odiard
 
  SugarLabs - Learning Software for children



 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org




-- 
Daniel Narvaez
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My GSoC Proposal for activity unit tests

2014-03-13 Thread Sai Vineet
Question: is there no other way to write UI tests? ATK is a pain. And if
I'm not wrong ATK is a accessibility related thing, so we're using the
using the wrong way to test?
On Mar 13, 2014 6:42 PM, Daniel Narvaez dwnarv...@gmail.com wrote:

 They could support the atk dbus interface (if I remember correctly it's
 not gtk only) but it would likely be a lot of work...


 On 13 March 2014 13:55, Walter Bender walter.ben...@gmail.com wrote:

 We could ask the Etoys maintainers to build us some  sort of dbus
 interface we can work with. But I agree, it should be out of the first
 batch of programs we test.

 regards.

 -walter

 On Thu, Mar 13, 2014 at 8:36 AM, Gonzalo Odiard godi...@sugarlabs.org
 wrote:
  Probably etoys would be out of the list of activities to test.
 
  Gonzalo
 
 
  On Thu, Mar 13, 2014 at 9:33 AM, Daniel Narvaez dwnarv...@gmail.com
 wrote:
 
  I don't think so, it's not using gtk.
 
 
  On 13 March 2014 13:22, Sai Vineet saivinee...@gmail.com wrote:
 
  Etoys is not in Python, I think. How will you write tests? Will UI
 tests
  work on it?
 
 
  On Thu, Mar 13, 2014 at 11:36 AM, Gaurav Parida gparid...@gmail.com
  wrote:
 
  Hi,
 
  Uptill now I have been successful in installing all the activities
  except etoys(there is some file opeing error in the log)
  and I can't find the repository named image as specfied in the
 list of
  the activities at
 http://download.sugarlabs.org/sources/sucrose/fructose/
 
  I thought that after the exams I would bug people on IRC and get the
  etoys issue fixed and run it.
 
 
  @ignacio
 
 
  On Thu, Mar 13, 2014 at 5:23 AM, Ignacio Rodríguez 
 nachoe...@gmail.com
  wrote:
 
 
 
  I like you'r apply, but by the way.. How do you do with Etoys? This
 is
  really weird!
 
  --
  Ignacio Rodríguez.
 
 
  Have I missed something?
  I am guessing that etoys is not at all supprted or what?
 
 
  Thanks,
  Gaurav
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 
 
 
  --
  Daniel Narvaez
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 
 
  --
  Gonzalo Odiard
 
  SugarLabs - Learning Software for children



 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org




 --
 Daniel Narvaez

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My GSoC Proposal for activity unit tests

2014-03-13 Thread Daniel Narvaez
On 13 March 2014 14:20, Sai Vineet saivinee...@gmail.com wrote:

 Question: is there no other way to write UI tests? ATK is a pain.

You need some kind of out-of-process mechanism to click around, see the
UI etc. I'm not sure there is anything better than atk for that.

 And if I'm not wrong ATK is a accessibility related thing, so we're using
 the using the wrong way to test?


Well, dogtail, which is far as I know is the only alive test automation
framework for gtk, uses ATK in the same way. Also using the accessibility
toolkit for UI test is something seen in several other toolkits. You need
the same kind of things...

I'm not sure what is you issue with ATK exactly. The current
sugar.test.uitree stuff is really low level, you could build something more
friendly on it perhaps (or use dogtail even, I gave up on it because it was
too complicated and racy but things might have improved now that ATK is
more stable). But there might also be an issue with the amount of
information ATK exposes, some of our controls doesn't quite show up in the
tree I think. Though that might also be fixable, by improving our
accessibility story at the same time :)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My GSoC Proposal for activity unit tests

2014-03-13 Thread Gaurav Parida
Hi,

Ok I will make the changes the changes in the timeline of the proposal. and
keep the etoys as optional as of now.
Yes I think dogtail is used by gnome people to do their UI tests.

I'm not sure what is you issue with ATK exactly. The current
sugar.test.uitree stuff is really low level, you could build something more
friendly on it perhaps (or use dogtail even, I gave up on it because it was
too complicated and racy but things might have improved now that ATK is
more stable). But there might also be an issue with the amount of
information ATK exposes, some of our controls doesn't quite show up in the
tree I think. Though that might also be fixable, by improving our
accessibility story at the same time :)

I will get on to UI tests and see dogtail too as soon as my exams get over.

My 3 Questions :)

1. What is the repo named Image as given in the link of the list of
activities in fructose
http://download.sugarlabs.org/sources/sucrose/fructose/
2. Do I need to write an analysis on how tests work and how it will be done
with reference to the activities in the proposal?
3. @org administrator (walter) Please review my proposal at google melange
whenever you are free and give the feedback so that I could modify it
before the deadline.

Thanks,
Gaurav


On Thu, Mar 13, 2014 at 7:33 PM, Daniel Narvaez dwnarv...@gmail.com wrote:

 On 13 March 2014 14:20, Sai Vineet saivinee...@gmail.com wrote:

 Question: is there no other way to write UI tests? ATK is a pain.

 You need some kind of out-of-process mechanism to click around, see the
 UI etc. I'm not sure there is anything better than atk for that.

 And if I'm not wrong ATK is a accessibility related thing, so we're using
 the using the wrong way to test?


 Well, dogtail, which is far as I know is the only alive test automation
 framework for gtk, uses ATK in the same way. Also using the accessibility
 toolkit for UI test is something seen in several other toolkits. You need
 the same kind of things...

 I'm not sure what is you issue with ATK exactly. The current
 sugar.test.uitree stuff is really low level, you could build something more
 friendly on it perhaps (or use dogtail even, I gave up on it because it was
 too complicated and racy but things might have improved now that ATK is
 more stable). But there might also be an issue with the amount of
 information ATK exposes, some of our controls doesn't quite show up in the
 tree I think. Though that might also be fixable, by improving our
 accessibility story at the same time :)

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] My GSoC Proposal for activity unit tests

2014-03-12 Thread Gaurav Parida
Hello all,

Since, my college mid-semester exams are starting from tomorrow, I won't be
much active on IRC till 15th, March. So, thought of posting this here.

As the GSoC project, I am planning to take up the activity unit tests
project, I have written my first draft of the proposal and submitted both
on melange and wiki.sugarlabs.
link -
http://wiki.sugarlabs.org/go/Summer_of_Code/2014/Gp94/Activity_Unit_Tests

It would be great if the mentors and the contributors can find time from
their busy schedule and evaluate my proposal and give their feedback, so
that I can make alterations and make a better proposal.

I also have one question, do we need to add a detailed analysis on how the
project will be implemented, like how the tests in python work and how it
will be run with the activities?

Awaiting for the feedback :)

Thanks,
Gaurav
(gp94 on IRC)

PS - have cc'ed the mail to walter and daniel because they are the mentors
for this project.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel