Artificial Gold
  • Chat with Artifical Gold
  •  | 
  • Site Map
  • Home
  • Portfolio
  • Contact us
  • Blog

Site Map

  • Portfolio

    • Restaurant Sale

    • Restaurant Booking Site

  • ContactUs

  • SiteMap

  • Privacy Policy

  • Outsourcing

Jan

14

Artificial Gold - Blog

2012-01-14| Posted by Andrew
Comments (0)
Knowledge of the system – worst reason to promote someone?

One of the reasons a lot of developers get promoted at work is due to “knowledge of the system”. They know how everything works for a project, company or similar and therefore can perform tasks that brand new developers can’t. … Continue reading →


Read More



Nov

09

User ArtificialGold - Stack Overflow

2011-11-09| Posted by ArtificialGold
Answer by ArtificialGold for Teamcity doesn't detect msbuild nor nUnit failures when executed from powershell

The way I have got TeamCity working (with TeamCity version 6.5.4 I must add) is to use the TeamCity module that is provided in the psake download.

Add this to your script:

...
Import-Module "$build_dir\psake\teamcity.psm1"

#Tasks here
...
Remove-Module teamcity

#End Of File

I have a build folder that I have put the module in so that all my builds can access it.

Then it worked out of the box.

I am not using the built in NUnit runner though, I have also put the NUNit console in my build folder and then call that with each UnitTest assembly:

Task Test -depends Build {
    $testAssemblies = (get-childitem $base_dir -r -i "*UnitTests.dll" -exclude "*.config" -Name | Select-string "bin")
    foreach($test_asm_name in $testAssemblies) {
        $full_test_assembly_name = "$base_dir\$test_asm_name"
        Exec { invoke-expression "$nunitconsole_path $full_test_assembly_name" }
    }
}

Read More


TwitterBlog
  • Home
  •  | 
  • Portfolio
  •  | 
  • Blog
  •  | 
  • Contact us

Artificial Gold © 2010 | Privacy Policy

Subscribe to our RSS