Updates 15/7/2024


1)Tests script

I created the logic to run unit tests from powershell inside visual studio, without the need to run them via Unity.

With the help of Chatgpt I wrote a powershell script that runs the tests, saves results in an xml file, parses the file and outputs to the console the results.

Now with this integration, my testing routine will be much faster and simpler, I will not change between Visual studio to write a single line and unity to run the test.

2)First PlayMode Test was written

Today I wrote my first PlayMode test that inits the game, and Sends an offer from the first club to the second in the same league, for a random player, TransferController handles the negotiation, Second club accepts the offer, And a final Assert checks that the player indeed now is in the first team.

Confluence ticket: https://mariostb.atlassian.net/browse/KAN-84

Git commit: https://github.com/coffee-enthusiast/FootballManager/commit/4c3d77dea4d822afc0118ac98fdb339f51576627


Leave a comment