# Creating a NUnit test project

Before we go deeper into NUnit details, let’s see how to quickly create a unit test project that uses NUnit.

NUnit has good integration with both Microsoft Visual Studio and JetBrains ReSharper but the fastest way to create a test project is by using the `dotnet new` utility that comes with the .NET Core SDK.

Before you can proceed, you need to install the template. You can quickly do so by executing the following command in your preferred shell.

```
dotnet new -i NUnit3.DotNetNew.Template
```

Once you have installed the template, you can simply create a new NUnit-based unit test project by executing

```
dotnet new nunit
```

By default, the project will be created in the current directory and it will be named after its name. Optionally, you can provide the name of the project: this name will also be used to create a directory for the project.

```
dotnet new nunit -n MyFirstTestProject
```

The newly created project will consist of a project file and a sample unit test class.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.insightarchitectures.com/unit-testing-csharp/nunit/creating-a-nunit-test-project.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
