|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Testing! Long and maybe OT..Hi Magnolia! I'm going to implement a sort of testing "standard" procedure to our new Magnolia-based infrastructure. I'm quite sure it is an OT question, but I think also this argument can interest others. I would like to ask you a lot of things, but I will only ask: 1) How do you (automatically) test your modules? Our idea is to test using TestNG [1] testing suite and Selenium [2] The environment is the following: 1) Eclipse as IDE 2) Maven as building tool 3) TestNG as testing suite Inside TestNG test, call Selenium client (Server started from maven plugin). We use also cargo for launching tomcat and deploy our application. The only "nebolous" point is how we can deploy a test-capable magnolia instance inside the container. We started to think to build a magnoliaAuthor / magnoliaPublic instance with an already prepared repository (licence inside, module already installed). But a lot of question came up to my mind: - should the repository be on SVN? - is it possible to use a Magnolia CE empty webapp project? And in this case, is it possible to add customization (EE licence, modules, ...)? - is it possible to run Integration Test without an Integration Test Framework (like Continuum / Hudson)? Any suggestion, thought, idea is really welcome ! ----------------------------------------------------------------------- [1] http://testng.org/doc/index.html [2] http://seleniumhq.org/ ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <user-list-unsubscribe@...> ---------------------------------------------------------------- |
|
|
Re: Testing! Long and maybe OT..Matteo Pelucco wrote: > I'm going to implement a sort of testing "standard" procedure to our new > Magnolia-based infrastructure. I'm quite sure it is an OT question, but > I think also this argument can interest others. > > I would like to ask you a lot of things, but I will only ask: > > 1) How do you (automatically) test your modules? Magnolia uses JUnit and EasyMock: http://wiki.magnolia-cms.com/display/DEV/Testing+Magnolia But yes, if you want to test using tools like Selenium you'll need to go a bit further. Nils Breunese. ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <user-list-unsubscribe@...> ---------------------------------------------------------------- |
|
|
Re: Testing! Long and maybe OT..Nils Breunese ha scritto: > > Magnolia uses JUnit and EasyMock: > http://wiki.magnolia-cms.com/display/DEV/Testing+Magnolia EasyMock is something I would use too to interface my test with, of course. But of course, I would also use something like Selenium to test website functionalities and TestNG / JUnit for functional testing. I start to think that the only way is to have a Continuos Integration environment... ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <user-list-unsubscribe@...> ---------------------------------------------------------------- |
| Free embeddable forum powered by Nabble | Forum Help |