BDD testing C++ Library

Why should a tester who focuses on use cases and requirements use highly specific and complex C++ language?

If the software architecture is already thinking in components and concerns, there will probably be a library that we can test.

So how can we use for example python for testing C++ libraries in an easy way?

Continue reading “BDD testing C++ Library”

ASP Net Rest API – Unit Test

Previously a basic API for Sights and facts was created ASP Net Rest API – Treasure Hunt – Guess checking.
Now let’s automate “playing” with the API by using and writing Unit Tests.

Create a new Project for the unit tests and add existing Server Project as dependency.

dotnet new xunit -o Tests
cd Tests
dotnet add reference ..\Server
dotnet add package Microsoft.AspNetCore.Mvc.Hosting
dotnet add package Microsoft.AspNetCore.Mvc.Testing
dotnet sln add Tests\
Continue reading “ASP Net Rest API – Unit Test”