Aryan-sharma11 / AddSevenPS

0 stars 1 forks source link

NUnit Framework #7

Closed Aryan-sharma11 closed 2 years ago

Aryan-sharma11 commented 2 years ago

Used the NUnit framework for Unit testing

Referred material https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-fsharp-with-nunit

The test only focuses on the F sharp functions right now

Aryan-sharma11 commented 2 years ago

Used the NUnit framework for Unit testing

Referred material https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-fsharp-with-nunit

The test only focusses on the F sharp functions only right now

Attributes I used are :

Assert - used to test an expression, upon a failure in Debug mode, an assertion generates a system error dialog box

Aryan-sharma11 commented 2 years ago

NUnit vs XUnit

https://www.lambdatest.com/blog/nunit-vs-xunit-vs-mstest/#:~:text=As%20far%20as%20NUnit%20vs,of%20the%20%5BTest%5D%20attribute.

abhi18av commented 2 years ago

Okay, this sounds good.

xUnit is much more extensible when compared to NUnit

Then shall we continue with xunit for the time being?

Aryan-sharma11 commented 2 years ago

Okay I added the XUnit framework too

Okay, this sounds good.

xUnit is much more extensible when compared to NUnit

Then shall we continue with xunit for the time being?