This PR creates a new project for unit tests in the note-taker repository. The project is created using the .NET CLI and is an xUnit Test Project. The project is named "note-taker.Tests" and is added to the existing solution.
Summary
Created a new xUnit Test Project using the .NET CLI.
Added a reference to the note-taker project in the test project.
Added the FakeItEasy library to the test project for mocking.
Created a new class named "NoteServiceTests" in the test project.
Added necessary using statements and a constructor in the "NoteServiceTests" class.
Created a mock object for the IFileService interface using FakeItEasy in the constructor.
Fixes #33.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/create-unit-tests-project
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR creates a new project for unit tests in the note-taker repository. The project is created using the .NET CLI and is an xUnit Test Project. The project is named "note-taker.Tests" and is added to the existing solution.
Summary
Fixes #33.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.