Web.config transformations is a Microsoft-supported technology for adapting a base configuration to a particular deployment environment. In my previous post, I mentioned how AppHarbor provides an online tool for manually testing transformations. Also, the Visual Studio extension SlowCheetah provides support for manually testing and transformation and diffing them against the base configuration from inside Visual Studio. These [...]
Testing Web.config Transformations, Part 1
December 8th, 2011 by Mads Troest — .Net, Testing, Tips & Tricks
Tags: automated testing, configuration, Deployment, transformation, web, Web.config, xml
Web.config Transformations and XML Namespaces
November 14th, 2011 by Mads Troest — .Net, Tips & Tricks
In the project I’m currently working on, we use Web.config transformations to adapt a base configuration to a particular deployment environment. I was adding a transformation to adapt our NLog configuration for the various environments, when I ran into a problem. I’d added the following transformation, intended to set the log level to Warning on [...]
Tags: .Net, configuration, Deployment, namespace, NLog, transformation, web, Web.config, xml
REST and XML using Spring MVC and Groovy
April 9th, 2010 by Mattias Hellborg Arthursson — Java
There’s one particular thing Groovy is really good for and that is working with XML. When I started playing around with the REST support in the latest version of Spring MVC I wanted to try using Spring for the controller infrastructure and delegate to Groovy for producing XML responses. It turned out this wasn’t as [...]
Tags: groovy, hateoas, rest, spring, xml
JXPath simplifies Java queries
August 4th, 2006 by Ulrik Sandberg — Java, Testing
Consider a company that contains many departments. Those departments contain employees, those employees have names, telephone numbers, and so on. To query a collection of companies and find, for example, all departments of companies in California with more than 10 employees, you could write something like this: for (Iterator companies = database.getCompanies().iterator(); companies.hasNext();) { [...]
Tags: automated testing, collection, frameworks, open source, query, tools, xml
