vishal v

vishal v

  • 2k
  • 4
  • 82

Nunit test error

May 14 2021 8:25 AM
Hi,
 
I have created very small program for Nunit.
while running test, getting some unexpected error. but build is successful.
 
I am not able to resolve this small problem. Could you please suggest where i am wrong.
  1. using System;  
  2. using NUnit.Framework;  
  3. using OpenQA.Selenium;  
  4. using OpenQA.Selenium.Chrome;  
  5. using WebEx;  
  6.   
  7. namespace Web_Utils  
  8. {  
  9.     [TestFixture]  
  10.     public class Program  
  11.     {  
  12.         static void Main(string[] args)  
  13.         {  
  14.         }  
  15.         [Test]  
  16.         public void Open()  
  17.         {  
  18.             Console.WriteLine("hello");  
  19.         }  
  20.     }  
  21. }

Answers (2)