All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gallio.Gallio.PowerShellCommands.dll-Help.xml Maven / Gradle / Ivy





  
    
      
        Run-Gallio
      
      
        Runs tests using Gallio.
      
      
        Copyright © 2005-2009 Gallio Project - http://www.gallio.org/
      
      Run
      Gallio
      
    
    
      The Run-Gallio cmdlet runs tests using Gallio.
    
    

      
      
      

        
          ApplicationBaseDirectory
          
            The relative or absolute path of the application base directory to use during test execution instead of the default.
          
          String.Empty
        
        
        Run-Gallio
        
          Files
          
            The list of comma-separated, relative or absolute paths of test files, projects and assemblies to execute.  Wildcards may be used.
          
        
        
        
          DoNotRun
          
            Sets whether to load the tests but not run them. This option may be used to produce a report that contains test metadata for consumption by other tools.
          
          false
        

        
          Filter
          
            
              Sets the filter set to apply, which consists of a sequence of one or more inclusion
              or exclusion filter rules prefixed using 'include' (optional) or 'exclude'.
              A filter rule consists of zero or more filter expressions
              that may be combined using 'and', 'or', and 'not' and grouped with
              parentheses.  A filter expression consists of a filter key followed by one or
              more comma-delimited matching values in the form 'key: value, "quoted value",
              /regular expression/'.
            
          
          *
        

        
          HintDirectories
          
            The list of directories used for loading referenced assemblies and other dependent resources.
          
        

        
          NoEchoResults
          
            Sets whether to echo results to the screen as tests finish. If this option is specified only the final summary statistics are displayed. Otherwise test results are echoed to the console in varying detail depending on the current verbosity level.
          
          false
        

        
          NoProgress
          
            Sets whether progress information is shown during the execution. If this option is specified, the execution is silent and no progress information is displayed.
          
          false
        
        
        
          PluginDirectories
          
            Additional Gallio plugin directories to search recursively.
          
        

        
          ReportDirectory
          
            Sets the name of the directory where the reports will be put.
          
          "Reports"
        

        
          ReportNameFormat
          
            Sets the format string to use to generate the reports filenames.
          
          test-report-{0}-{1}
        

        
          ReportArchive
          
            Indicates whether to enclose the resulting test report in a compressed archive file.
          
          false
        

        
          ReportTypes
          
            A list of the types of reports to generate, separated by semicolons.
          
          String.Empty
        

        
          RunnerType
          
            Sets the type of test runner to use (LocalAppDomain, IsolatedAppDomain or IsolatedProcess, but more could be available as plugins).
          
          IsolatedProcess
        

        
          ShadowCopy
          
            
              Enables shadow copying when set to true. Shadow copying allows the original assemblies to be modified while the tests are running. However, shadow copying may occasionally cause some tests to fail if they depend on their original location.
            
          
          false
        

        
          DebugTests
          
            
              Attaches the debugger to the test process.
            
          
          false
        

        
          ShowReports
          
            Sets whether to open the generated reports once execution has finished.
          
          false
        

        
          WorkingDirectory
          
            
              The relative or absolute path of the working directory to use during test execution instead of the default.
            
          
          String.Empty
        

        
          RuntimeVersion
          
            The version of the .Net runtime to use for running tests.  For the CLR, this must be the name of one of the framework directories in %SystemRoot%\Microsoft.Net\Framework.  eg. 'v2.0.50727'.  The default is null which uses the most recent installed and supported framework.
          
        
      
    

    

      
      
      
        ApplicationBaseDirectory
        
          The relative or absolute path of the application base directory.
        
        String.Empty
      

      Run-Gallio
      
        Files
        
          The list of comma-separated, relative or absolute paths of test files, projects and assemblies to execute.  Wildcards may be used.
        
      

      
        DoNotRun
        
          Sets whether to load the tests but not run them. This option may be used to produce a report that contains test metadata for consumption by other tools.
        
        false
      

      
        Filter
        
          
            Sets the filter set to apply, which consists of a sequence of one or more inclusion
            or exclusion filter rules prefixed using 'include' (optional) or 'exclude'.
            A filter rule consists of zero or more filter expressions
            that may be combined using 'and', 'or', and 'not' and grouped with
            parentheses.  A filter expression consists of a filter key followed by one or
            more comma-delimited matching values in the form 'key: value, "quoted value",
            /regular expression/'.
          
        
        *
      

      
        HintDirectories
        
          The list of directories used for loading referenced assemblies and other dependent resources.
        
      

      
        NoEchoResults
        
          Sets whether to echo results to the screen as tests finish. If this option is specified only the final summary statistics are displayed. Otherwise test results are echoed to the console in varying detail depending on the current verbosity level.
        
        false
      

      
        NoProgress
        
          Sets whether progress information is shown during the execution. If this option is specified, the execution is silent and no progress information is displayed.
        
        false
      
      
      
        PluginDirectories
        
          Additional Gallio plugin directories to search recursively.
        
      

      
        ReportDirectory
        
          Sets the name of the directory where the reports will be put.
        
        "Reports"
      

      
        ReportNameFormat
        
          Sets the format string to use to generate the reports filenames.
        
        test-report-{0}-{1}
      

      
        ReportArchive
        
          Indicates whether to enclose the resulting test report in a compressed archive file.
        
        false
      

      
        ReportTypes
        
          A list of the types of reports to generate, separated by semicolons.
        
        String.Empty
      

      
        RunnerType
        
          Sets the type of test runner to use: Local, IsolatedAppDomain, IsolatedProcess, or others that may be provided by plugins.
        
        IsolatedProcess
      

      
        RunnerExtensions
        
          Specifies the type, assembly, and parameters of custom test runner extensions to use during the test run in the form: '[Namespace.]Type,Assembly[;Parameters].  eg. 'FancyLogger,MyExtensions.dll;ColorOutput,FancyIndenting'
        
      
      
      
        ShadowCopy
        
          
            Enables shadow copying when set to true. Shadow copying allows the original assemblies to be modified while the tests are running. However, shadow copying may occasionally cause some tests to fail if they depend on their original location.
          
        
        false
      

      
        DebugTests
        
          
            Attaches the debugger to the test process.
          
        
        false
      

      
        ShowReports
        
          Sets whether to open the generated reports once execution has finished.
        
        false
      

      
        WorkingDirectory
        
          
            The relative or absolute path of the working directory. If relative, the path is based on the current working directory, so a value of "" (an empty string) causes the current working directory to be used.
          
        
        String.Empty
      

      
        RuntimeVersion
        
          The version of the .Net runtime to use for running tests.  For the CLR, this must be the name of one of the framework directories in %SystemRoot%\Microsoft.Net\Framework.  eg. 'v2.0.50727'.  The default is null which uses the most recent installed and supported framework.
        
      
    

    
      
        # Makes the Gallio commands available
        Add-PSSnapIn Gallio
        # Runs TestAssembly1.dll
        Run-Gallio "[Path-to-assembly1]\TestAssembly1.dll","[Path-to-assembly2]\TestAssembly2.dll","[Path-to-test-script1]/TestScript1_spec.rb","[Path-to-test-script2]/TestScript2.xml" -f Category:UnitTests -rd C:\build\reports -rf html -ra
      
    

  






© 2015 - 2025 Weber Informatics LLC | Privacy Policy