0

私はVisual Studio 2015 IntelliTestを使用してデータ駆動テストを実行しています。これはデータ駆動型テストにとって非常に便利なツールです。 Intellitestで作成したプロジェクトからインテリジェストを実行しているときにVisual Studio 2015のIntelliテストが失敗しています。しかし、テストエクスプローラウィンドウからテストを実行するときも同様です。リポジトリパターンを実装し、Entity Framework 6.0を使用してデータベース操作を実行しました。詳細は以下のスタックトレースを参照してください。誰かが私にこれを助けることができますか?ユニットテストが成功するとIntellitest 2015が失敗する

System.NullReferenceException: Object reference not set to an instance of an object.  
    at System.Void MyFramework.Persistence.Entity.EF1Repository..ctor(System.String connectionStringName, System.String objContextName) 
at System.Void MyFramework.Persistence.PersistenceManager..ctor(System.String schema, System.String module) 
at System.Collections.Generic.List`1<MyDTO> BusinessLogic.ListedPassenger.Passengers(MyDTO entity) 
at System.Collections.Generic.List`1<MyDTO> BusinessLogic.Tests.ListedPassengerTest.PassengersTest(BusinessLogic.ListedPassenger target, MyDTO entity) 

答えて

関連する問題