![]() Running the project will display the default NUnit test runner activity. Now creating a new project in Visual Studio should surface our new C# template. The final template is available as a zip (or GitHub), which can be imported into Visual Studio by pasting into, %USERPROFILE%\Documents\Visual Studio 2019\Templates\ProjectTemplates Starting with a blank C# app I stripped out all the extra icon/xml files, manually added the reference to NUnitLite and updated the MainActivity to inherit from TestSuiteActivity. Since I wanted a C# version of this project, I decided to create my own template. Once you called base.OnCreate(), you cannot add more assemblies.Įxpanding the project’s references in Solution Explorer reveals that is a framework assembly reference. AddTest (Assembly.GetExecutingAssembly () ) // or in any reference assemblies OnCreate (bundle ) = // tests can be inside the main assembly ![]() ![]() Type MainActivity () = inherit TestSuiteActivity ()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |