Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Jorge Ferrer
Liferay Subversion Guidelines
December 14, 2007 6:01 PM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2768

Join Date: August 31, 2006

Recent Posts

Hey All,

I've just expanded the Liferay Core Development Guidelines with a new article about how to use our Subversion repository. I noticed lately that we are not all using it in the same way, specially in relation to the usage of branches, so this article aims to set a common set of rules that we all agree with.

Feel free to comment on it if you prefer something to be done differently that what the document describes:
Liferay Subversion Guidelines
Alex Wallace
RE: Liferay Subversion Guidelines
December 16, 2007 6:31 PM
Answer

Alex Wallace

Rank: Liferay Master

Posts: 640

Join Date: November 4, 2007

Recent Posts

Hi Jorge.

I noticed you mention something like "run regression tests..."

I'd love to know what you guys use to do regression tests... Does it include the UI? Do you know if it will work well with JSF?

Thanks!
Jorge Ferrer
RE: Liferay Subversion Guidelines
December 17, 2007 11:16 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2768

Join Date: August 31, 2006

Recent Posts

Hi Alex,

I don't think that is said currently in the guidelines. If it is, could you point out where?

The reason is not that is not a good idea, it certainly is!, but unfortunately we don't have such tests yet. Liferay is an application that is intrinsically hard to test because it has lots of integration code and a difficult to test UI. Having said that we've been doing some changes to the architecture lately to allow for unit testing where it really makes sense.

Regarding functional testing, we've been doing prototypes with several tools, including httpunit and selenium, but the tests produced have resulted far too difficult to maintain. In any case having nice regression tests is still something we'd like to have ASAP. Any recommendation regarding a good testing technology for Liferay would be appreciated.
Alex Wallace
RE: Liferay Subversion Guidelines
December 17, 2007 11:48 AM
Answer

Alex Wallace

Rank: Liferay Master

Posts: 640

Join Date: November 4, 2007

Recent Posts

Thank you Jorge... You are correct, it doesn't say "run reggression tests" it says


Regression test your changes against affected components. This will help us expedite the review process.


Which kind of made me think you may have some sort of automated regression tests..

I agree with all your points.. It would be great! and it is pretty tough...

The tests i write are junit tests but are always to tests certain libraries we use, that endup in jars used in the portals... But have not been able, like you, to come up with tests that will run on the browser and work just as a user would...

Thanks again!
Jorge Ferrer
RE: Liferay Subversion Guidelines
December 17, 2007 2:20 PM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2768

Join Date: August 31, 2006

Recent Posts

Hi Alex,

Oh, I see where the confusion came from. It seems Mike reworded the original guidelines and added the word regression there. That's why I thought it wasn't there. Anyway, I've reworded it again to avoid further confusion.

Thanks for noticing!
Aristides Melendez Hernandez
RE: Liferay Subversion Guidelines
June 20, 2011 3:13 PM
Answer

Aristides Melendez Hernandez

Rank: New Member

Posts: 3

Join Date: June 20, 2011

Recent Posts

Hi, everyone just to update.
the above link is the old the new is
http://www.liferay.com/community/wiki/-/wiki/Main/Liferay+Subversion+Guidelines