Пример #1
0
        public void NSeedDll_Info()
        {
            NSeed.Run("info");

            Then(NSeed.Response)
            .ShouldNotBeSuccessful(Errors.WorkingDirectoryDoesNotContainAnyFile);
        }
Пример #2
0
        public void NSeedDll_ProjectNotDefine()
        {
            NSeed.Run("info --project");

            Then(NSeed.Response)
            .ShouldNotBeSuccessful(argOutput: "Missing value for option 'project'.");
        }
Пример #3
0
        public void NSeedDll_Info_HelpOption()
        {
            NSeed.Run("info --help");

            Then(NSeed.Response)
            .ShouldBeSuccessful()
            .ShouldShowHelpMessageForInfoSubcommand();
        }
Пример #4
0
        public void NseedDll_Info_Core_EmptySeedBucketProject()
        {
            Skip.IfNot(RuntimeInformation.IsOSPlatform(OSPlatform.Windows));

            NSeed.Run("info --project ", NSeed.Scenario("EmptySeedBucket.DotNetCore"));

            Then(NSeed.Response)
            .ShouldBeSuccessful();
        }
Пример #5
0
        public void NseedDll_Info_ClassicConsoleApp_NoSeedProject()
        {
            Skip.IfNot(RuntimeInformation.IsOSPlatform(OSPlatform.Windows));

            NSeed.Run("info --project ", NSeed.Scenario("NetClassicConsoleApp"));

            Then(NSeed.Response)
            .ShouldNotBeSuccessful(Resources.Info.Errors.SeedBucketProjectCouldNotBeFound);
        }