UTA058 The test engine cannot run tests in the assembly for out integration test
We have a done a MsTest-dll that contain our integration tests that is run after each deploy to our daily build environment. However on our new build server we ran into problems with the following error message. “UTA058: The test engine cannot run tests in the assembly” OK - it seems that you need to configure .NET Framework to allow running assemblies from network shared. I found this description on how to solve it (potentially the longest URL on the net ;). But we ran into more trouble… The .NET Framework 2.0 Configuration was no where to be found. As it seems that tool disappears when the .NET Framework 2.0 SDK is installed. Where it disappeared to is a another question that I haven’t found an answer to. However the great description also told us how to handle the problem on the command prompt, with the caspol-tool. To make a...
Read More
SOAP UI - a great way to do integration tests for services
Just found this tool - or actually I’ve used but missed it’s greatness… The SoapUI can be used to automatically generate clients to access web services. But furthermore it can be used to test web services. With the tool you can generate test request and setup the expected response. This is setup via a nice GUI. The requests and responses can then be run, in sequence or one by one. What a great way to do integration tests for a service. Just imagine - you have 100 pre-built request/response-files and just run them (from the command prompt as part of you nightly build of course). Since not much coding skills are required you can easily put the SoapUI in the hands of a tester and maintain the requests/responses as checked in files. Now we just need to find a way to run the test against WCF services. We can always...
Read More
Abbe - a December update
I know that a lot of people has been wondering why no new pictures of
Abbe has been on display here for a while. Well - a too busy autumn may
be one reason. Anywho - here you go…
Almost forgot - he said a very loud and clear “PAPPA” last week!
Read More
Christmas times - hectic times
A very hectic time is closing into an end… the day after tomorrow will be the first day in ten days that I’ve been free after work. Phew! To much! But fun stuff too: We did two concerts with my Salvation Army Corps and they were both great. The Vasa Band and Vasa Gospel holds these concerts each year. This year at our newly renovated corps. I was in the planning group as well as doing the presentations during the concert. Very fun! This weekend was another highlight since I (once again) was presenter for the Lucia-concerts of the Windcorp Brass Band. This year I even got the opportunity to play with them due to a late change in the parts. Also the guest soloist was Richard Marshall of the Black Dyke Band, which is a bit like a football player that get to meet David Beckham! A great thrill...
Read More
Working directory for Build Agents and building different branches
We have been chasing a strange problem for a few days now. The scenario is as follows; We created a new TFS build server, that is - we set up the build service on a new server. In our TFS Source control we had two branches with a build definition for each. Finally we set up a Build Agent for the new server via Visual Studio Team System. But the builds failed! With error message “The path [path] is already mapped in workspace [workspace]” We didn’t get why until we checked a property on the build agent; Working Directory. This can be set by right-clicking on the Builds-folder in Team Explorer, choosing the agent and the Edit. On the Build Agent Properties page there is a WorkingDirectory-textbox. This dictates where the agent should build. However - what not is shown is that you can use a variable in the path:...
Read More
What is a workspace in TFS?
This question has puzzled me for quite some time. It’s so vague and
fluffy in the edges. However here is a
great article that describes what it is - and I am
so relieved that I wasn’t completely stupid.
The term is quite fluffy and can be described as “the things a user work
with on a local computer”. Or to put it more elegantly, as Martin
Woodward does, “a container that bridges the gap between your local
computer (acting as a TFS client) and the server”
Read More
MSBuild sidekicks
This tool,
MSBuild
Sidekick, looks quite promising. It’s a graphical editor with which
you build MSBuild project files.
I am always quite skeptical to tools when you “draw code” that you as
easily can write. But this tools seems to hold some very useful features. I’ll try to lab with it when I get the
chance.
Read More
Tuba Hero
This weekend I’ve hanged around brass players and they tipped me on a
really nerdy game -
Tuba
Hero - a brass version of
Guitar Hero.
Great fun - although the record (108880 at the current time) is way out
of my reach.
Read More
AddressFilter mismatch at the EndpointDispatcher
The complete error message was: “The message with To ‘[my service address]’ cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher.” We got this message when we deployed our services to the production environment. In this environment we first encounter BIG-IP and clustering. And that’s when we hit this brick wall. The scenario was that BIG-IP had one DNS-name/Ip-address that “forwarded” request to two different servers. However when we accessed the servers with wsHttpBinding we ran into trouble and the above mentioned error message. The strange thing was that it worked fine with basicHttpBinding, which puzzled us for a while. Well, thanks to the excellent knowledge in the Avega Microsoft community, we got an answerer in matter of minutes. As this post points out you can handle the problem by setting the AddressFilterMode to Any, which basic means - ignore addressfiltering. As far as I...
Read More
MSTest and secondary references
We’ve just solved a tricky thing in our project. We still don’t get what
is happening under the covers but now we’ve got it to work.
When we ran our unit tests (99% code coverage have I mentioned that :))
in the Visual Studio IDE everything was green and nice. However when the
tests were run in our build script they failed with some strange
reference problem. The same thing happened if we ran the test local via
MSTest.exe.
OK - we then found the following post that showed us the same behavior. The
solution is to in the .testrunconfig-file for the test configure
DeploymentItems that points to any additional reference you need for
your test to run.
Via the Test->Edit Test Run Configuration-menu item you can easily add
files and folders.
Read More