コード例 #1
0
        public void ShouldListOutdatedDependency()
        {
            var result = new ScriptTestCase()
                         .AddPackage("LightInject", "5.1.0")
                         .Execute();

            result.StandardOut.Should().Contain("LightInject 5.1.0 =>");
            result.ModifiedContent.Should().Contain("5.1.0");
        }
コード例 #2
0
 public void ShouldUpdateToLatestVersion()
 {
     var result = new ScriptTestCase()
                  .AddPackage("LightInject", "5.1.0")
                  .Execute("--update");
 }