myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Korherr <jakob.korh...@gmail.com>
Subject Re: Integration tests for MyFaces core
Date Wed, 13 Jul 2011 15:24:23 GMT
Hi,

I just created a wiki page in the cwiki for the integration-tests:
https://cwiki.apache.org/confluence/display/MYFACES/MyFaces+core+integration+tests

Regards,
Jakob

2011/7/13 Jakob Korherr <jakob.korherr@gmail.com>:
> Hi,
>
>> One idea that came to my mind is how to run the same set of tests
>> against multiple configurations. For example, if we have some ajax
>> tests, it could be good to run it with htmlunit in firefox and IE
>> mode, or we need to run some test with PSS or normal state saving, and
>> so on. Other idea is take some tests already done in test-webapp
>> project and automatize it (flash scope tests and some other ajax
>> tests). It looks very promising.
>
> Yes, I was thinking of the need for running one test in different
> environments too. However, due to the different configurations needed
> (e.g. web.xml config parameters), it is not that easy to accomplish
> something like that. Fortunately - as Gerhard mentioned - Jan Zarnikov
> is currently working on something like that for his GSoC project
> "Manila". After GSoC is over, we will be able to use this framework to
> accomplish this task (it already looks very promising!).
>
> I also agree that we should port some of the manual tests from
> test-webapp to the new integration-test modules. I think this would be
> a good task for our summer student. I will check that with him!
>
> The idea of the integration-test war modules is to keep them as simple
> as possible. If a very specific config is needed for one tests, a new
> module should be created simply for this concrete test.
>
>
> FYI 1: I just changed the servlet25-el10 environment from jetty7 to
> tomcat6, b/c tomcat6 is potentially more often used than jetty7.
>
> FYI 2: I created a job called myfaces-current-2.0-integration-tests on
> jenkins to execute the integration tests for core (we use a different
> job then the original myfaces-current-2.0 job, because we don't want a
> failing integration-test to stop the deployment of our snapshots, we
> did that on CODI too). After some minor start problems, it works now!
>
> FYI 3: I will start creating the archetype for core integration tests now!
>
> Regards,
> Jakob
>
> 2011/7/12 Rudy De Busscher <rdebusscher@gmail.com>:
>> If have done lately some tests with Selenium Webdriver running against
>> different browsers (see [1])  It is quit easy and give you immediate
>> indication about the browser compatibility.  Nice to have that kind of
>> 'assurance' into MyFaces.
>>
>> Regards
>> Rudy
>>
>> [1] =
>> http://jsfcorner.blogspot.com/2011/05/browser-compatibility-with-webdriver.html
>>
>>
>> On 12 July 2011 19:32, Gerhard Petracek <gerhard.petracek@gmail.com> wrote:
>>>
>>> hi,
>>> +1
>>> @leo:
>>> jan is working on a similar topic - see [1]
>>> regards,
>>> gerhard
>>> [1] http://www.mail-archive.com/dev@myfaces.apache.org/msg53910.html
>>>
>>> http://www.irian.at
>>>
>>> Your JSF powerhouse -
>>> JSF Consulting, Development and
>>> Courses in English and German
>>>
>>> Professional Support for Apache MyFaces
>>>
>>>
>>>
>>> 2011/7/12 Leonardo Uribe <lu4242@gmail.com>
>>>>
>>>> Hi
>>>>
>>>> Looks great!.
>>>>
>>>> One idea that came to my mind is how to run the same set of tests
>>>> against multiple configurations. For example, if we have some ajax
>>>> tests, it could be good to run it with htmlunit in firefox and IE
>>>> mode, or we need to run some test with PSS or normal state saving, and
>>>> so on. Other idea is take some tests already done in test-webapp
>>>> project and automatize it (flash scope tests and some other ajax
>>>> tests). It looks very promising.
>>>>
>>>> Leonardo Uribe
>>>>
>>>> 2011/7/12 Jakob Korherr <jakob.korherr@gmail.com>:
>>>> > Hi guys,
>>>> >
>>>> > I just opened a JIRA issue (MYFACES-3217) and committed the basic
>>>> > infrastructure for the MyFaces core integration tests. I added a
>>>> > detailed description about the integration-tests to the JIRA issue,
so
>>>> > please have a look at that. In addition, you can check out the modules
>>>> > in the svn at [1].
>>>> >
>>>> > If you want to build MyFaces core 2.0.x and run the integration tests
>>>> > with the build, just use "mvn clean install -Pintegration-tests". If
>>>> > you want to start a container and do some tests manually, just run
>>>> > "mvn clean package cargo:run" in one of the war-modules. If you have
>>>> > some time, please give it a try and tell me what you think about it!
>>>> >
>>>> > In addition, we at IRIAN just got a summer student aboard who is
>>>> > willing to write a basic set of integration tests for us. Thus we
>>>> > should soon have a lot of tests in those modules!
>>>> >
>>>> > Any comments, ideas or other input is appreciated!
>>>> >
>>>> > Regards,
>>>> > Jakob
>>>> >
>>>> > [1]
>>>> > https://svn.apache.org/repos/asf/myfaces/core/branches/2.0.x/integration-tests/
>>>> >
>>>> > --
>>>> > Jakob Korherr
>>>> >
>>>> > blog: http://www.jakobk.com
>>>> > twitter: http://twitter.com/jakobkorherr
>>>> > work: http://www.irian.at
>>>> >
>>>
>>
>>
>>
>> --
>> Rudy De Busscher
>> http://www.c4j.be
>>
>>
>
>
>
> --
> Jakob Korherr
>
> blog: http://www.jakobk.com
> twitter: http://twitter.com/jakobkorherr
> work: http://www.irian.at
>



-- 
Jakob Korherr

blog: http://www.jakobk.com
twitter: http://twitter.com/jakobkorherr
work: http://www.irian.at

Mime
View raw message