continuous-integration

How to automate integration testing ?

Hi, I'd like to know something, I know that to make your test easier you should use mock during unit testing to only test the composant you want, without external depedencies. But at some time you have to bite the bullet, and test classes wich interact with your database/file/network... So my question is : What do you do to test these...

Configuring OnDemand builds in CCNet [Resolved?]

We have a CCNet configuration that is currently performing continuous integration builds, Nightly builds (which publish to our internal test servers) and Weekly builds which generate Setup/Installation packages every Friday morning. So far so good .. the process has been well received and some of the chaos that surrounded a release has ...

UI Testing Framework + Continuous Integration ??

So I have an application that I inherited and I want to build up an automated test suite around it. The application wasn't designed with testability in mind, and the code is a "big ball of mud". My plan was to use a UI Automation testing framework and create a suite of tests at the UI level until I had enough coverage to allow me to st...

Make QA Drops of Only Selected Builds In CruiseControl.Net

CC.Net is creating many builds for us each day. Occasionally we do a bit of manual smoke testing and then a build becomes a QA drop (or release candidate if you prefer). QA drops are just copied to a remove server. I'd like to automate the execution of the qa-drop-copy nant script, against an existing successful build. How can I do t...

How do I test a message queue client?

I am working on a java message queue client (beanstalk) and right now my tests look like this: //make sure our getJob can handle utf8 characters @Test public void testUTF8() { bean = new Beanstalk(); Job job = new Job(); bean.putJob("€"); job = bean.getJob(); assertEquals("€", job.msg); bean.close(); } ...

How do you set up Hudson to work with Git?

I'm trying to set up Hudson as a CI Server and I'm having trouble getting everything to work. I'm trying to use the 'official' git plugin. I haven't done any testing with the alternate plugin developed by stephenh. I'm wondering if anyone else has gotten Hudson to work with Git or any CI server to work with Git. If so, how and with w...

How do I configure an extreme feedback device to notify CI build status?

Trying to save the next guy/gal some trouble in finding out what is needed to setup lava lamps or traffic lights or what have you (the term I believe is eXtreme Feedback Devices) as a BIG VISIBLE INDICATOR of your continuous integration build status. Ensure your post includes... (and please don't mess this question up with imaginative r...

Is it possible to develop for sharepoint using continuous integration techniques?

We are gearing up for some pretty serious Sharepoint(MOSS 2007) development including custom web parts, lists, master pages and layouts etc etc and etc. We are evaluating version control and it seems that the discussion has not got much deeper than that. I am keen that we can easily deploy from the source control to our test and product...

CruiseControl.NET: Displaying generated files as part of the build history

I have a rake task running on CC.NET that generates HTML test reports. I'd like these test reports to be stored against each build and be accessible from the CC.NET website when looking at the details of the build. Is there a way of doing this or do you know of another continuous integration server that can do this? ...

Automatic change of web.config under source control during CI build

I am working with couple of friends on an ASP.NET MVC website. The project is maintained in SVN and I have CC.Net set up to checkout latest version and do automated build and deploy to a pre-production server. The default build configuration is set to Debug, but the automated build is set to build Retail. Everything works just fine, exce...

How can I execute silverlight unit tests from the command line

I've a set of tests for a silverlight application that use Silverlight's test framework. I can execute these from within visual studio and they run beautifully. I can also build my code from outside Visual studio using MSBuild following the tips in Jeff Wilcox's blog post: http://www.jeff.wilcox.name/2009/01/silverlight-msbuild-tricks-...

Tool (or combination of tools) for reproducible environments in Python

I used to be a java developer and we used tools like ant or maven to manage our development/testing/UAT environments in a standardized way. This allowed us to handle library dependencies, setting OS variables, compiling, deploying, running unit tests, and all the required tasks. Also, the scripts generated guaranteed that all the environ...

Best way to integrate StyleCop with TFS CI

I've been doing research on how to enable source analysis for the project I'm working on and plan to use StyleCop. The setup I have is a TFS Server for source control, using TFS Continuous Integration. I want to enable source analysis for CI builds and daily builds run on the build machine, and not only for those run on developers' machi...

Nant cmd.exe redirection creating file called 'program' on c:\ drive

Hi, I have NAnt script which as part of its project calls a batch file using the following task: <target name="makeplane"> <exec program="C:\WINDOWS\system32\CMD.EXE" commandline="/C ${make.file} &gt; ${make.log}" verbose="false" workingdir="${make.dir}" basedir="${make.dir}"> </...

CI: Hudson with .Net vs CruiseControl.Net

I work for a .net shop looking to integrate a CI server. From what I've seen, Hudson seems to be the most popular choice. Considering we are a .net only shop, will Hudson present any hurdles that CC.NET will not? ...

Is it possible to use Cruise Control with VB6 ?

Hi ! I'm working on a visual basic 6 project and I would like to use a continuous integration software ... does anyone knows if its possible to use Cruise Control with VB6 ? If not ... is there another software that would do the job ? Thanks ! ...

Subscribing to TeamSystem events

I trying to subscribe to the "build complete" event of TeamFoundation like it's described in this article http://msdn.microsoft.com/en-us/magazine/cc507647.aspx. And I'm failing to get anything from team system. Can anyone point to some potential problem areas I need to check? ...

CruiseControl.Net complaining about xml

I inherited an existing project with a failing build. I can see the exception in the ccnet.log file: Exception: System.Xml.XmlException: Name cannot begin with the '%' character, hexadecimal value 0x25. Line 17, position 100. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, Strin...

Best branching strategy when doing continuous integration?

What is the best branching strategy to use when you want to do continuous integration? Release Branching - Unstable Trunk: or Feature Branching - Stable Trunk: Does it make sense to use both of these strategies together? As in, you branch for each release but you also branch for large features? Does one of these strategies mesh ...

Using SVN with CruiseControl?

I'm trying to use CruiseControl 2.7.3, (the original), to build a Java project that is in an SVN repository. My cruise configuration is using the svn plugin for the modification set. When a modification is detected, a build is scheduled using Ant. That Ant build file then uses the svnant Ant Task to do a complete checkout of the pro...