2011-02-17 23 views
1

嗨我有一個在VisualStudio 2010中使用Gallio 3.2 b.435的測試項目。每次啓動任何測試時,輸出窗口都會彈出。Gallio錯誤「探索測試時發生異常。」

這是錯誤消息

[error] An exception was thrown while exploring tests. 
Location: C:\xxxxxxx(73) 
Details: System.FormatException: Input string was not in a correct format. 
    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) 

這是在該行的代碼指定

71: [Test, ExpectedException(typeof(RulesException<Story>))] 
72: public void CanNotSaveItemIfInvalid() 
73: { 
74:  var story= new Story{ Id = 100, Tilte= "test" }; 
75:  repository.Save(story, new MembershipUser()); 
76: } 

此錯誤isthrown沒有梅特正在測試考什麼(該項目包含700測試) 中當然;)測試編譯和通過,我不明白的錯誤。

再見斯特凡諾

回答

2

此錯誤是known issue。這是由於Gallio核心引擎使用的早期版本的Mono.Cecil(v0.6)中的一個錯誤。最近已經修復:Gallio現在使用Mono.Cecil v0.9。

請嘗試加利奧(V3.2.2)

+0

謝謝你,升級到3.2.2構建708個作品完美的latest version。 – 2011-02-18 10:09:26

相關問題