tag:blogger.com,1999:blog-7821856652257554779.post6159315321857793307..comments2025-09-20T09:27:07.510+02:00Comments on Andrzej on Software: Continuous integration - some tipsAndrzej Krzywdahttp://www.blogger.com/profile/06399276063142826365noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-7821856652257554779.post-19554244549627068452011-12-08T19:22:50.533+01:002011-12-08T19:22:50.533+01:00haha, a trophy, nice!
Wouldn't work well in d...haha, a trophy, nice!<br /><br />Wouldn't work well in distributed teams, though. Maybe changing twitter avatar to something embarrassing? :)Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-4592324063703419632011-12-08T19:08:08.929+01:002011-12-08T19:08:08.929+01:00About making sure people don't leave builds in...About making sure people don't leave builds in a broken state, we stole an idea from something I read about on a NetBeans developpers forum. They use an ugly looking piece of pottery that acts as a trophy for the last person who broke the build. Quite effective! Not having any pottery on hand, we are using a Origami pig for that. The person gets to keep it on its desk until the next person breaks something.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-26837595852765402422011-12-07T01:23:36.013+01:002011-12-07T01:23:36.013+01:00Thanks Andrzej!Thanks Andrzej!Pedro Mata-Mouroshttps://github.com/matamouros/cintient.noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-31561429302442099342011-12-06T11:30:39.808+01:002011-12-06T11:30:39.808+01:00Pedro: Yeah, I agree, medium projects should also ...Pedro: Yeah, I agree, medium projects should also have a CI. I think every project that involves more than 1 person would gain from CI. Single-dev projects also.<br /><br />Interesting idea with you CI tool. I'm sure it will be useful!<br /><br />We use Jenkins for our Rails projects.Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-32256462870186285122011-12-06T11:28:59.887+01:002011-12-06T11:28:59.887+01:00michal: We've been trying to convert Selenium ...michal: We've been trying to convert Selenium tests to Webkit, but we failed. It didn't see some texts that were clearly visible on the screen. Did you have similar problems?Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-53346458275573422492011-12-06T11:24:39.416+01:002011-12-06T11:24:39.416+01:00You mention "every non-basic" project. I...You mention "every non-basic" project. I happen to think there is a huge gap needing to be filled, in bringing CI practices to all those smaller to medium web projects. About 80% of all web projects, basically. I've authored Cintient, an open-source, PHP based, self-hosted CI server. It's made to be dead simple, and hopefully turn around this generalized misconception that CI is only justified on more complex or big projects. Oh, the link: https://github.com/matamouros/cintient.Pedro Mata-Mouroshttps://github.com/matamouros/cintient.noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-19513240436871735252011-12-06T04:09:54.626+01:002011-12-06T04:09:54.626+01:00I agree with everything you said here.
We've...I agree with everything you said here. <br /><br />We've been using jasmine together with sinonjs (http://sinonjs.org/) to test our front-end.<br /><br />We've been also experimenting with capybara-webkit https://github.com/thoughtbot/capybara-webkit to skip selenium all together.michalhttps://www.blogger.com/profile/10506941322182177655noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-6068975549620272832011-12-06T02:25:35.568+01:002011-12-06T02:25:35.568+01:00Hey Michael,
The front-end acceptance tests (with...Hey Michael,<br /><br />The front-end acceptance tests (with a real browser, but the "server" is stubbed out) can take seconds, literally.<br /><br />The server API tests can also be very fast. That gives us 2-3 minutes for the full-integration tests (with Selenium). It's enough for the most important parts of the code.Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-89428218657907821422011-12-06T02:21:39.809+01:002011-12-06T02:21:39.809+01:00Ah, now I see your comment about Selenium being sl...Ah, now I see your comment about Selenium being slow and unreliable. Your suggested solution is to separate out tests for the backend and client side. Does that mean you typically *don't* have end-to-end tests on a new project?<br /><br />We've found the new WebDriver interface to Selenium 2 much more reliable by the way.Michael Foordhttps://www.blogger.com/profile/06229713779852499022noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-89070591481433063362011-12-06T02:19:25.622+01:002011-12-06T02:19:25.622+01:00Can you keep your end-to-end functional tests (rea...Can you keep your end-to-end functional tests (real database, using selenium) running in under 3 minutes?Michael Foordhttps://www.blogger.com/profile/06229713779852499022noreply@blogger.com