Re: Unit tests in TLF

2015-01-08 Thread Harbs
n error which we are expecting, but >> GlobalSettings.resourceStringFunction do not return any text for >> "invalidReplaceTextPositions". >> >> Could we have some bug in that area ? >> >> Piotr >> >> >> >> - >> Apache Flex PMC >> piotrzarzyck...@gmail.com >> -- >> View this message in context: >> http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p44215.html >> Sent from the Apache Flex Development mailing list archive at Nabble.com. >

Re: Unit tests in TLF

2015-01-08 Thread Harbs
". > > Could we have some bug in that area ? > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: > http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p44215.html > Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Unit tests in TLF

2015-01-07 Thread piotrz
uot;invalidReplaceTextPositions". Could we have some bug in that area ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p44215.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: Unit tests in TLF

2014-10-06 Thread piotrz
Thanks Michael. Your help was crucial. :) I hope to push next part of TLF tests soon to develop branch. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p41123.html Sent from

RE: Unit tests in TLF

2014-10-06 Thread Michael A. Labriola
>I have merged my code to develop branch. I saw that TLF build correctly so I >can assume that everything is working fine. :) Nice work. Congratulations and good job

Re: Unit tests in TLF

2014-10-05 Thread Harbs
t; - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: > http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p41100.html > Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Unit tests in TLF

2014-10-05 Thread piotrz
machine. - Don't know how to do this. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p41100.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Unit tests in TLF

2014-10-01 Thread piotrz
Ok Thanks Erik. I will try to merge today my branch into develop. Will see what will blow up ;) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p40978.html Sent from the Apache

Re: Unit tests in TLF

2014-09-30 Thread Erik de Bruin
ion. EdB > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: > http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p40972.html > Sent from the Apache Flex Development mailing list archive at Na

Re: Unit tests in TLF

2014-09-30 Thread piotrz
in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p40972.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: Unit tests in TLF

2014-09-29 Thread Michael A. Labriola
>I have missed something from your previous response and didn't try CIListener. >- I am really sorry about it. Now it is working, I can move forward. No problems at all. I just wanted to know if you had tried so I could help you debug it.

RE: Unit tests in TLF

2014-09-28 Thread piotrz
-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p40950.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: Unit tests in TLF

2014-09-28 Thread Michael A. Labriola
will work. On the screenshot there is a bit mess in my project, because I have tried several things ;) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Unit-tests-in-TLF-tp36199p40948.html Sent fr

RE: Unit tests in TLF

2014-09-28 Thread piotrz
On the screenshot there is a bit mess in my project, because I have tried several things ;) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Unit-tests-in-TLF-tp36199p40948.html Sent from the Apach

RE: Unit tests in TLF

2014-09-23 Thread piotrz
Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p40885.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: Unit tests in TLF

2014-09-23 Thread Michael A. Labriola
Piotr- > Should I dispatch some event through the -> flexunituirunner:TestRunnerBase ? If you are using any of the flexunit CI pieces they take care of that communication back to the launching process for you. I don't know if you are or are not. Dispatching an event is not ideal as the TestRunn

Re: Unit tests in TLF

2014-09-23 Thread piotrz
Hi Harbs, If someone help me beat this problem couple of tests will be ready for you for sure. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p40883.html Sent from the

Re: Unit tests in TLF

2014-09-23 Thread Harbs
ub modules, swc textLayout_editBar, textLayout_ui) - it should > build into automation_apps/bin > > This is how it looks for now. As a next step I will be working on launch > more tests classes and change build.xml file for automation of tests. > > Piotr > > >

Re: Unit tests in TLF

2014-09-22 Thread piotrz
ently script is waiting for the respons and crashing after some time. :) Should I dispatch some event through the -> flexunituirunner:TestRunnerBase ? Piotr - Apache Flex Committer piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble

Re: Unit tests in TLF

2014-05-18 Thread piotrz
Hi Alex, Sorry for the delay. I did try to put folder witch contains simple.xml file and other files require for Test cases. Piotr - Apache Flex Committer piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF

Re: Unit tests in TLF

2014-05-13 Thread Alex Harui
for now. As a next step I will be working on launch >more tests classes and change build.xml file for automation of tests. > >Piotr > > > > > > > > >- >Apache Flex Committer >piotrzarzyck...@gmail.com >-- >View this message in context: >http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp3 >6199p37516.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Unit tests in TLF

2014-05-11 Thread piotrz
ml file for automation of tests. Piotr - Apache Flex Committer piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p37516.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Unit tests in TLF

2014-05-03 Thread Justin Mclean
Hi, > If you can launch the test automatically, that would be best, IMO. But having test to run is certainly better than the current situation were we can't run the tests. Check in it if it's an improvement over before (which sounds like it is) and if it doesn't break anything else. Thanks, Ju

Re: Unit tests in TLF

2014-05-03 Thread Alex Harui
ate what has happened I will do it later >when we will have full functional system. I think I will create additional >branch for my changes and commit it later this week. > >Piotr > > > > > >- >Apache Flex Committer >piotrzarzyck...@gmail.com >-- >View

Re: Unit tests in TLF

2014-05-03 Thread piotrz
Flex Committer piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p37450.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: Unit tests in TLF

2014-04-06 Thread piotrz
che-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p36679.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: Unit tests in TLF

2014-04-06 Thread Michael A. Labriola
>In flex unit 4 most of those information about test we have got into >TestRunnerBase. When I add FU 4 to project I've simple removed all of those >methods and UI for display information and I replaced it one line of code >. In FlexUnit4, the information doesn't do into TestRunnerBase really.

Re: Unit tests in TLF

2014-04-06 Thread Alex Harui
ass will have 100 tests methods all of them will be run one by one. What do you think about this solution ? Piotr - Apache Flex Committer piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p36668.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Unit tests in TLF

2014-04-06 Thread piotrz
ames without methods. - so if selected class will have 100 tests methods all of them will be run one by one. What do you think about this solution ? Piotr - Apache Flex Committer piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble

Re: Unit tests in TLF

2014-03-26 Thread Alex Harui
;2) Try to run at least one test. >3) Run ant script > >Piotr :) > > > >- >Apache Flex Committer >piotrzarzyck...@gmail.com >-- >View this message in context: >http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp3 >6199p36401.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Unit tests in TLF

2014-03-26 Thread piotrz
l.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p36401.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: FlexUnit was Unit tests in TLF

2014-03-24 Thread Michael A. Labriola
>BTW, a key motivating factor in creating a set of FlexUnit tests is to try to >conform to that government standard you told me about. Do you have a 5 >sentence summary of what a test suite needs to cover? Is it measured purely >by code coverage or do you have to have boundary tests, negative

RE: Unit tests in TLF

2014-03-24 Thread Michael A. Labriola
>FlexJS will keep metadata on the JS side, probably as simple properties on the >classes and/or functions. I imagine we'll write a library that abstracts the >fetching of metadata and returns it as an array of strings or maybe as JSON. >If we could easily retrofit the metadata fetching in Flex

Re: Unit tests in TLF

2014-03-24 Thread Alex Harui
On 3/24/14 9:26 AM, "Michael A. Labriola" wrote: >>OK, I didn't see any non-Flex apps around the runners. The deal is the >>mx and Spark apps can't wrap the runners and load in FlexJS classes at >>the same time. I think I'll just have to replace the Spark app with a >>FlexJS app. > >No proble

Re: FlexUnit was Unit tests in TLF

2014-03-24 Thread Alex Harui
On 3/24/14 9:22 AM, "Michael A. Labriola" wrote: >>BTW, was one of the enhancements automated test generation? Maybe from >>metadata on the class? > >There was a bigger project on that, yes, although we didn't get >particularly far before the Apache switch so most of it was put on hold. >Also,

RE: Unit tests in TLF

2014-03-24 Thread Michael A. Labriola
>OK, I didn't see any non-Flex apps around the runners. The deal is the mx and >Spark apps can't wrap the runners and load in FlexJS classes at the same time. > I think I'll just have to replace the Spark app with a FlexJS app. No problem. We even got FlexUnit working in Flash pro at one point.

RE: FlexUnit was Unit tests in TLF

2014-03-24 Thread Michael A. Labriola
>BTW, was one of the enhancements automated test generation? Maybe from >metadata on the class? There was a bigger project on that, yes, although we didn't get particularly far before the Apache switch so most of it was put on hold. Also, Flash Builder would create stubs for you based on the c

Re: Unit tests in TLF

2014-03-23 Thread Alex Harui
On 3/23/14 9:51 AM, "Michael A. Labriola" wrote: >>I found when trying to get FlexUnit to work with FlexJS that there is >>some work needed there as well since the FlexUnit demos use mx or Spark >>applications around the runners. > >Alex, this isn't completely true and I can help you with it. T

Re: FlexUnit was Unit tests in TLF

2014-03-23 Thread Alex Harui
On 3/23/14 9:57 AM, "Michael A. Labriola" wrote: >I put together a presentation years ago on FlexUnit for contributors that >explained the architecture. I will find it and get that posted somewhere. > >Additionally, if anyone is interested, I would be happy to do a session >sometime on the inte

RE: Unit tests in TLF

2014-03-23 Thread piotrz
Thanks Michael if so I will study carefully everything and will try. :) Piotr - Apache Flex Committer piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p36214.html Sent from the Apache Flex Development

RE: Unit tests in TLF

2014-03-23 Thread Michael A. Labriola
Piotr, >For ex: http://bit.ly/1jjjhJ8 >They do not have any tags [Test] above the methods and so on. These should still be able to be run through FlexUnit 4.x FlexUnit 4 understands how to run FlexUnit 4.x, FlexUnit 1.x and Fluint 1.x tests. However, it may still be worthwhile to update them s

Re: Unit tests in TLF

2014-03-23 Thread piotrz
Thanks Alex I will try to do that. Piotr - Apache Flex Committer piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p36211.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: FlexUnit was Unit tests in TLF

2014-03-23 Thread piotrz
Hi Michael. I would be happy to participate in such session. Piotr - Apache Flex Committer piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexUnit-was-Unit-tests-in-TLF-tp36204p36210.html Sent from the Apache Flex

RE: Unit tests in TLF

2014-03-23 Thread piotrz
om -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p36209.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: FlexUnit was Unit tests in TLF

2014-03-23 Thread Michael A. Labriola
major pieces fit together. Mike -Original Message- From: Michael A. Labriola [mailto:labri...@digitalprimates.net] Sent: Sunday, March 23, 2014 11:57 AM To: dev@flex.apache.org Subject: FlexUnit was Unit tests in TLF I put together a presentation years ago on FlexUnit for contributors

FlexUnit was Unit tests in TLF

2014-03-23 Thread Michael A. Labriola
I put together a presentation years ago on FlexUnit for contributors that explained the architecture. I will find it and get that posted somewhere. Additionally, if anyone is interested, I would be happy to do a session sometime on the internals of it as well as talk about what was in the future

RE: Unit tests in TLF

2014-03-23 Thread Michael A. Labriola
>I found when trying to get FlexUnit to work with FlexJS that there is some >work needed there as well since the FlexUnit demos use mx or Spark >applications around the runners. Alex, this isn't completely true and I can help you with it. The runner itself is entirely AS only, no Flex depende

RE: Unit tests in TLF

2014-03-23 Thread Michael A. Labriola
>Question is what should we do with this ? Should we change it to FlexUnit ? That is more commonly known as FlexUnit 1. FlexUnit 4 should already run those tests internally. >More over I think library was modified in some way for TLF tests purposes. for >ex: Couple of properties from TestCase

Re: Unit tests in TLF

2014-03-23 Thread Alex Harui
stCase class which have been used in >TLF >tests do not exists in original TestCase class. > >Piotr > > > > > > >- >Apache Flex Committer >piotrzarzyck...@gmail.com >-- >View this message in context: >http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp3 >6199.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.

Unit tests in TLF

2014-03-23 Thread piotrz
LF tests purposes. -> for ex: Couple of properties from TestCase class which have been used in TLF tests do not exists in original TestCase class. Piotr - Apache Flex Committer piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com