2010-04-07 34 views
0

我試圖通過將連接字符串設置爲「Test」來使用Subsonic 3.0.0.4的內置測試功能。我的數據訪問例程使用SqlQuery類。當我嘗試運行反對「內存」庫的測試,我收到此錯誤:使用SubSonic,ActiveRecord和SqlQuery進行單元測試

System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.

調試時,我可以看到,數據庫類,它繼承IQuerySurface,處於測試模式。

是否有可能使用Subsonic with ActiveRecord和SQLQuery中的內置測試功能?

回答

1

Is it possible to use the built-in testing feature in Subsonic with ActiveRecord and SQLQuery?

沒有內置的測試僅使用LINQ查詢工作