Re: [E-devel] [PATCH] adding check for elementary

2013-05-03 Thread Tom Hacohen
On 02/05/13 11:45, Daniel Juyung Seo wrote:
 On Wed, May 1, 2013 at 8:49 PM, Tom Hacohen tom.haco...@samsung.com wrote:
 On 01/05/13 12:40, Cedric BAIL wrote:
 On Wed, May 1, 2013 at 7:48 PM, ryuan Choi ryuan.c...@gmail.com wrote:
 While digging some elementary bug recently, I think that elementary needs
 unit testing framework like other EFL core modules in order to prevent
 regressions or understand what commits fixed.

 Can we have chance to introduce check for elementary?

 Initial commit is here.
 https://phab.enlightenment.org/D91

 I wish we had exactness integrated... but that would be a start. Will
 do some push before the end of the week.

 As Cedric has mentioned.

 Anyhow, replied to your patch.

 Yes exactness will do an awesome job.
 But I think we still need test cases as well to check the api safety,
 return value check, regression test, and etc.
 Does exactness cover test cases?


Exactness is a pixel perfect test suite. It just checks the pixels are 
the same. In fact, elementary could be completely broken in many ways, 
but as long as the frames we shoot are good, exactness won't fail.
It does however detect segfaults and etc.

The problem I have with make check in elementary's case, is that 
there's really nothing to test. Only NULL checks and the like. And even 
there, you have many paths you can't easily get to because of elm's 
reliance on timers/idlers and generally the main loop.

You can do those, but it won't be nice, and won't be worth it. If you do 
them with exactness on the other hand, it'll actually work nicely.

--
Tom.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] adding check for elementary

2013-05-03 Thread Daniel Juyung Seo
On Fri, May 3, 2013 at 5:41 PM, Tom Hacohen tom.haco...@samsung.com wrote:
 On 02/05/13 11:45, Daniel Juyung Seo wrote:

 On Wed, May 1, 2013 at 8:49 PM, Tom Hacohen tom.haco...@samsung.com
 wrote:

 On 01/05/13 12:40, Cedric BAIL wrote:

 On Wed, May 1, 2013 at 7:48 PM, ryuan Choi ryuan.c...@gmail.com wrote:

 While digging some elementary bug recently, I think that elementary
 needs
 unit testing framework like other EFL core modules in order to prevent
 regressions or understand what commits fixed.

 Can we have chance to introduce check for elementary?

 Initial commit is here.
 https://phab.enlightenment.org/D91


 I wish we had exactness integrated... but that would be a start. Will
 do some push before the end of the week.


 As Cedric has mentioned.

 Anyhow, replied to your patch.


 Yes exactness will do an awesome job.
 But I think we still need test cases as well to check the api safety,
 return value check, regression test, and etc.
 Does exactness cover test cases?


 Exactness is a pixel perfect test suite. It just checks the pixels are the
 same. In fact, elementary could be completely broken in many ways, but as
 long as the frames we shoot are good, exactness won't fail.
 It does however detect segfaults and etc.

 The problem I have with make check in elementary's case, is that there's
 really nothing to test. Only NULL checks and the like. And even there, you
 have many paths you can't easily get to because of elm's reliance on
 timers/idlers and generally the main loop.

 You can do those, but it won't be nice, and won't be worth it. If you do
 them with exactness on the other hand, it'll actually work nicely.


You are right and I totally agree with you but I don't think exactness
will cover 100% elementary use cases.
Don't get me wrong. You know I love exactness :) I have been using
exactness from day 1.

Even though having useless test cases are wasting of time, we need
test cases for some use cases.
That's why I want to have both.
But we should keep the test cases short and simple as much as possible.

Thanks.

Daniel Juyung Seo (SeoZ)

 --
 Tom.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] adding check for elementary

2013-05-03 Thread Tom Hacohen
On 03/05/13 11:00, Daniel Juyung Seo wrote:
 On Fri, May 3, 2013 at 5:41 PM, Tom Hacohen tom.haco...@samsung.com wrote:
 On 02/05/13 11:45, Daniel Juyung Seo wrote:

 On Wed, May 1, 2013 at 8:49 PM, Tom Hacohen tom.haco...@samsung.com
 wrote:

 On 01/05/13 12:40, Cedric BAIL wrote:

 On Wed, May 1, 2013 at 7:48 PM, ryuan Choi ryuan.c...@gmail.com wrote:

 While digging some elementary bug recently, I think that elementary
 needs
 unit testing framework like other EFL core modules in order to prevent
 regressions or understand what commits fixed.

 Can we have chance to introduce check for elementary?

 Initial commit is here.
 https://phab.enlightenment.org/D91


 I wish we had exactness integrated... but that would be a start. Will
 do some push before the end of the week.


 As Cedric has mentioned.

 Anyhow, replied to your patch.


 Yes exactness will do an awesome job.
 But I think we still need test cases as well to check the api safety,
 return value check, regression test, and etc.
 Does exactness cover test cases?


 Exactness is a pixel perfect test suite. It just checks the pixels are the
 same. In fact, elementary could be completely broken in many ways, but as
 long as the frames we shoot are good, exactness won't fail.
 It does however detect segfaults and etc.

 The problem I have with make check in elementary's case, is that there's
 really nothing to test. Only NULL checks and the like. And even there, you
 have many paths you can't easily get to because of elm's reliance on
 timers/idlers and generally the main loop.

 You can do those, but it won't be nice, and won't be worth it. If you do
 them with exactness on the other hand, it'll actually work nicely.


 You are right and I totally agree with you but I don't think exactness
 will cover 100% elementary use cases.
 Don't get me wrong. You know I love exactness :) I have been using
 exactness from day 1.

 Even though having useless test cases are wasting of time, we need
 test cases for some use cases.
 That's why I want to have both.
 But we should keep the test cases short and simple as much as possible.

 Thanks.


Oh, let me clarify, I do think make check is needed. I just think we 
need some inspiration in the form of tests. :) I.e I think the patch 
should add some tests as well.

--
Tom.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] adding check for elementary

2013-05-02 Thread ryuan Choi
Can't we have both for elementary testing?

I also wish to get exactness integrated well. It's really nice.
But, I think that the focus of exactness and check are little bit different.

In my understanding, exactness or something based on exactness can trace
layouting issues.
It's important and they can cover almost common issues.

On the other hands, I believe that check and it's suite will focus API
issues such as boundary testing.
Indeed, it's simple to add and run. :)

Best Regards,
Ryuan Choi



2013/5/1 Tom Hacohen tom.haco...@samsung.com

 On 01/05/13 12:40, Cedric BAIL wrote:
  On Wed, May 1, 2013 at 7:48 PM, ryuan Choi ryuan.c...@gmail.com wrote:
  While digging some elementary bug recently, I think that elementary
 needs
  unit testing framework like other EFL core modules in order to prevent
  regressions or understand what commits fixed.
 
  Can we have chance to introduce check for elementary?
 
  Initial commit is here.
  https://phab.enlightenment.org/D91
 
  I wish we had exactness integrated... but that would be a start. Will
  do some push before the end of the week.

 As Cedric has mentioned.

 Anyhow, replied to your patch.

 --
 Tom.



 --
 Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
 Get 100% visibility into your production application - at no cost.
 Code-level diagnostics for performance bottlenecks with 2% overhead
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap1
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] adding check for elementary

2013-05-02 Thread Daniel Juyung Seo
On Wed, May 1, 2013 at 8:49 PM, Tom Hacohen tom.haco...@samsung.com wrote:
 On 01/05/13 12:40, Cedric BAIL wrote:
 On Wed, May 1, 2013 at 7:48 PM, ryuan Choi ryuan.c...@gmail.com wrote:
 While digging some elementary bug recently, I think that elementary needs
 unit testing framework like other EFL core modules in order to prevent
 regressions or understand what commits fixed.

 Can we have chance to introduce check for elementary?

 Initial commit is here.
 https://phab.enlightenment.org/D91

 I wish we had exactness integrated... but that would be a start. Will
 do some push before the end of the week.

 As Cedric has mentioned.

 Anyhow, replied to your patch.

Yes exactness will do an awesome job.
But I think we still need test cases as well to check the api safety,
return value check, regression test, and etc.
Does exactness cover test cases?

Daniel Juyung Seo (SeoZ)


 --
 Tom.


 --
 Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
 Get 100% visibility into your production application - at no cost.
 Code-level diagnostics for performance bottlenecks with 2% overhead
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap1
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] adding check for elementary

2013-05-01 Thread ryuan Choi
Hi,

While digging some elementary bug recently, I think that elementary needs
unit testing framework like other EFL core modules in order to prevent
regressions or understand what commits fixed.

Can we have chance to introduce check for elementary?

Initial commit is here.
https://phab.enlightenment.org/D91

Thanks in advance.
--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] adding check for elementary

2013-05-01 Thread Cedric BAIL
On Wed, May 1, 2013 at 7:48 PM, ryuan Choi ryuan.c...@gmail.com wrote:
 While digging some elementary bug recently, I think that elementary needs
 unit testing framework like other EFL core modules in order to prevent
 regressions or understand what commits fixed.

 Can we have chance to introduce check for elementary?

 Initial commit is here.
 https://phab.enlightenment.org/D91

I wish we had exactness integrated... but that would be a start. Will
do some push before the end of the week.
--
Cedric BAIL

--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] adding check for elementary

2013-05-01 Thread Tom Hacohen
On 01/05/13 12:40, Cedric BAIL wrote:
 On Wed, May 1, 2013 at 7:48 PM, ryuan Choi ryuan.c...@gmail.com wrote:
 While digging some elementary bug recently, I think that elementary needs
 unit testing framework like other EFL core modules in order to prevent
 regressions or understand what commits fixed.

 Can we have chance to introduce check for elementary?

 Initial commit is here.
 https://phab.enlightenment.org/D91

 I wish we had exactness integrated... but that would be a start. Will
 do some push before the end of the week.

As Cedric has mentioned.

Anyhow, replied to your patch.

--
Tom.


--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] adding check for elementary

2013-05-01 Thread Gustavo Lima Chaves
* ryuan Choi ryuan.c...@gmail.com [2013-05-01 19:48:43 +0900]:

Is github login working fine? Borked for me :( Sorry for hijacking the thread.

 Hi,
 
 While digging some elementary bug recently, I think that elementary needs
 unit testing framework like other EFL core modules in order to prevent
 regressions or understand what commits fixed.
 
 Can we have chance to introduce check for elementary?
 
 Initial commit is here.
 https://phab.enlightenment.org/D91
 
 Thanks in advance.
 --
 Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
 Get 100% visibility into your production application - at no cost.
 Code-level diagnostics for performance bottlenecks with 2% overhead
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap1
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-- 
Gustavo Lima Chaves
Senior Developer @ ProFUSION Embedded Systems

--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] adding check for elementary

2013-05-01 Thread Tom Hacohen
On 01/05/13 15:32, Gustavo Lima Chaves wrote:
 * ryuan Choi ryuan.c...@gmail.com [2013-05-01 19:48:43 +0900]:

 Is github login working fine? Borked for me :( Sorry for hijacking the thread.

If you are sorry, why did you do it? :)

Anyhow, I thought I've fixed it, let me check to see if there's anything 
else to be done.

--
Tom.


--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] adding check for elementary

2013-05-01 Thread Tom Hacohen
On 01/05/13 15:39, Tom Hacohen wrote:
 On 01/05/13 15:32, Gustavo Lima Chaves wrote:
 * ryuan Choi ryuan.c...@gmail.com [2013-05-01 19:48:43 +0900]:

 Is github login working fine? Borked for me :( Sorry for hijacking the 
 thread.

 If you are sorry, why did you do it? :)

 Anyhow, I thought I've fixed it, let me check to see if there's anything
 else to be done.

I think it's fixed, please try now.

--
Tom.


--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] adding check for elementary

2013-05-01 Thread Gustavo Lima Chaves
* Tom Hacohen tom.haco...@samsung.com [2013-05-01 15:41:44 +0100]:

 On 01/05/13 15:39, Tom Hacohen wrote:
  On 01/05/13 15:32, Gustavo Lima Chaves wrote:
  * ryuan Choi ryuan.c...@gmail.com [2013-05-01 19:48:43 +0900]:
 
  Is github login working fine? Borked for me :( Sorry for hijacking the 
  thread.
 
  If you are sorry, why did you do it? :)
 
  Anyhow, I thought I've fixed it, let me check to see if there's anything
  else to be done.
 
 I think it's fixed, please try now.

Working fine! Thanks, Tom :)

 
 --
 Tom.
 
 
 --
 Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
 Get 100% visibility into your production application - at no cost.
 Code-level diagnostics for performance bottlenecks with 2% overhead
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap1
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-- 
Gustavo Lima Chaves
Senior Developer @ ProFUSION Embedded Systems

--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel