cboiam / monetary-calculator

Automated tests trainment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monetary Calculator

This is a project built to be used in trainment of testing skills of my team, we'll build them in a context of the calculation of employee rights like vacation and rescission.

More about those calculus can be found in https://chcadvocacia.adv.br/blog/veja-como-calcular-rescisao-de-trabalho-dos-colaboradores/

Literatures to catch up with testing:

Running the application

To set up, start a postgre server, then on root folder run:

$ dotnet tool restore
$ dotnet database update -s src/MonetaryCalculator.Host -p src/MonetaryCalculator.Infra.Data

Run command inside the api project folder:

$ dotnet run

Running the tests

Run command on the root folder or inside a test project folder:

$ dotnet test

Built with

  • .NET 5 - Software Developmet Kit (SDK)
  • NUnit3 - Unit Test Framework
  • Fluent Assertions - Fluent Unit Test Assertions Extension Methods
  • Moq - The most popular mocking library for .NET
  • PostgreSQL - The World's Most Advanced Open Source Relational Database

About

Automated tests trainment


Languages

Language:C# 100.0%