2

テスト エクスプローラーを開くと、再構築後もテストが表示されません。を使用してテストを実行できdnx . test、期待どおりに実行されます。

私のproject.json fileは以下に記載されています。xUnit 2 および Visual Studio 2015 (ベータ 6) で ASP.Net 5 beta6 を使用しています。

{
  "version": "1.0.0-*",
  "description": "ClassLibrary1 Class Library",
  "authors": [ "jriegel" ],
  "tags": [ "" ],
  "projectUrl": "",
  "licenseUrl": "",

  "dependencies": {
    "System.Collections": "4.0.10",
    "System.Linq": "4.0.0",
    "System.Threading": "4.0.10",
    "System.Runtime": "4.0.20",
    "Microsoft.CSharp": "4.0.0",
    "xunit": "2.1.0-beta3-*",
    "xunit.runner.dnx": "2.1.0-beta3-*"
  },
  "commands": {
    "test": "xunit.runner.dnx"
  },

  "frameworks": {
    "dnx451": { },
    "dnxcore50": { }
  }
}
4

1 に答える 1