{"id":21272705,"url":"https://github.com/corentin-cott/mstest-formation","last_synced_at":"2026-04-12T16:05:02.665Z","repository":{"id":262665295,"uuid":"887972713","full_name":"Corentin-cott/MSTest-Formation","owner":"Corentin-cott","description":"[POUR APPRENTISSAGE] Ce dépôt contient une application console qui simule un jeu de type RPG. L'objectif de ce projet est d'apprendre à réaliser plusieurs types de tests (bout en bout, intégration, unitaires, etc.) avec le framework MSTest.","archived":false,"fork":false,"pushed_at":"2024-11-14T17:45:13.000Z","size":2667,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T11:40:39.700Z","etag":null,"topics":["csharp","dotnet","formation","mstest"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Corentin-cott.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-13T15:43:04.000Z","updated_at":"2024-12-06T08:48:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1facf9a-7a0c-4d72-85bf-9010619e75ae","html_url":"https://github.com/Corentin-cott/MSTest-Formation","commit_stats":null,"previous_names":["corentin-cott/mstest-formation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Corentin-cott/MSTest-Formation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corentin-cott%2FMSTest-Formation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corentin-cott%2FMSTest-Formation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corentin-cott%2FMSTest-Formation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corentin-cott%2FMSTest-Formation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Corentin-cott","download_url":"https://codeload.github.com/Corentin-cott/MSTest-Formation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corentin-cott%2FMSTest-Formation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272149986,"owners_count":24882060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","formation","mstest"],"created_at":"2024-11-21T09:08:44.467Z","updated_at":"2026-04-12T16:05:02.656Z","avatar_url":"https://github.com/Corentin-cott.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JeuRPG \u0026 MSTest\n\n\u003e [!NOTE]  \n\u003e Je me suis beaucoup amusé à créer ce petit jeu, mais il ne serais plus mis à jour !\n\n## Sommaire\n\n- [Introduction](#introduction)\n- [JeuRPG](#jeurpg)\n- [MSTest](#mstest)\n- [Contributions](#contributions)\n\n## Introduction\n\nMSTest-Formation est un dépôt contenant une application console qui simule un jeu de type RPG ainsi qu'un projet MSTest. L'objectif est d'apprendre à réaliser plusieurs types de tests (bout en bout, intégration, unitaires, etc.) avec le framework MSTest ainsi que le package FluentAssertion.\n\n## JeuRPG\n\n[JeuRPG](https://github.com/Corentin-cott/MSTest-Formation/tree/main/JeuRPG) est une application console qui servira de support pour ma formation. C'est un jeu de type RPG, basé sur des combats par vagues. À chaque vague, un monstre généré aléatoirement apparaîtra. Et à chaque combat gagné, le joueur gagne un point d'attribut à attribuer à l'une de ses statistiques : Vie, Attaque, Défense, Magie.\n\nLe jeu est composé de 2 classes :\n- **Entitee** (Bool Joueur, String Nom, Int Vie, Int MaxVie, Int Attaque, Int Défense, Int Magie)\n- **Combat** (Int NbVagues)\n- **ObjetsEquipables** (String Nom, Int Attaque, Int Défense, Int Magie)\n\nLa classe Entitee possède les méthodes d'actions ainsi que celles gérant l'augmentation des statistiques avec les attributs. Elle gère à la fois les actions du joueur et celles du monstre.\nLa classe Combat gère la génération des monstres, les calculs de dégâts ainsi que les soins.\n\n## [MSTest](https://learn.microsoft.com/fr-fr/dotnet/core/testing/unit-testing-with-mstest)\n\n[MSTest](https://github.com/Corentin-cott/MSTest-Formation/tree/main/MSTest) est un framework de tests pour les applications .NET. Il permet de créer, organiser et exécuter des tests automatisés afin de vérifier le bon fonctionnement du code. MSTest supporte différents types de tests, y compris les tests unitaires, les tests d'intégration et les tests de bout en bout.\n\nDans ce projet, nous utilisont aussi la package [FluentAssertion](https://fluentassertions.com/) et [MoQ](https://github.com/devlooped/moq).\n\n## Contributions\n\n[Corentin COTTEREAU](https://github.com/Corentin-cott)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorentin-cott%2Fmstest-formation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorentin-cott%2Fmstest-formation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorentin-cott%2Fmstest-formation/lists"}