Esempio n. 1
0
 /// <summary>
 /// Starts the process of finding all xUnit.net v2 tests in a class.
 /// </summary>
 /// <param name="typeName">The fully qualified type name to find tests in.</param>
 /// <param name="includeSourceInformation">Whether to include source file information, if possible.</param>
 /// <param name="messageSink">The message sink to report results back to.</param>
 /// <param name="options">The options used by the test framework during discovery.</param>
 public void Find(string typeName, bool includeSourceInformation, IMessageSink messageSink, XunitDiscoveryOptions options)
 {
     discoverer.Find(typeName, includeSourceInformation, messageSink, options);
 }
Esempio n. 2
0
 /// <summary>
 /// Starts the process of running all the xUnit.net v2 tests in the assembly.
 /// </summary>
 /// <param name="messageSink">The message sink to report results back to.</param>
 /// <param name="discoveryOptions">The options to be used during test discovery.</param>
 /// <param name="executionOptions">The options to be used during test execution.</param>
 public void Run(IMessageSink messageSink, XunitDiscoveryOptions discoveryOptions, XunitExecutionOptions executionOptions)
 {
     executor.RunAll(messageSink, discoveryOptions, executionOptions);
 }
Esempio n. 3
0
 /// <summary>
 /// Starts the process of finding all xUnit.net v2 tests in an assembly.
 /// </summary>
 /// <param name="includeSourceInformation">Whether to include source file information, if possible.</param>
 /// <param name="messageSink">The message sink to report results back to.</param>
 /// <param name="options">The options used by the test framework during discovery.</param>
 public void Find(bool includeSourceInformation, IMessageSink messageSink, XunitDiscoveryOptions options)
 {
     discoverer.Find(includeSourceInformation, messageSink, options);
 }