在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:PXL-IT-NET/Guts-DotNetEssentials开源软件地址:https://github.com/PXL-IT-NET/Guts-DotNetEssentials开源编程语言:C# 100.0%开源软件介绍:Guts-DotNetEssentialsIn this repository you can find (Visual Studio) starter solutions for the exercises of the .NET Essentials course of PXL-Digital. The exercises are grouped by chapter. There is a (Visual Studio) solution for each chapter. A chapter solution contains multiple projects:
The WPF projects are (mostly) empty and waiting for you to complete them. The matching test projects contain automated tests that can be run to check if your solution is correct. Getting StartedFirst you need to clone the files in this repository on your local machine. You will use the Visual Studio git capabilities to accomplish this. Clone the repositoryStart Visual Studio and select "Clone or check out code".
Now you have a local copy of the online repository in which you can complete your exercises. Double click the solution that contains the chapter exercises you want to work on. Alternatively, you can just double click a solution file (.sln) from an explorer window to start up Visual Studio with the solution opened up. guts-web.pxl.beRegister onTo be able to send your tests results to the Guts servers you need to register via guts-web.pxl.be. After registration you will have the credentials you need to succesfully run automated tests for an exercise. Start working on an exerciseLet's assume you want to make exercise 5 of chapter 5.
Run the automated testsLet's assume you are working on exercise 5 of chapter 5.
FAQWhy won't my tests run? The first time it can happen that you see the tests in the Test Explorer but if you run the tests, nothing happens. Try to clean your solution (Build → Clean Solution) and then to rebuild your solution (Build → Rebuild solution). Why can't I see my test results on the Guts website? Locally all my tests are green. After the tests are run, the testrunner will try to send your results to the server. In the Output Window you can see a log of the steps that are taken. If anything goes wrong, you should be able to find more info in the Output Window. The test results will only be sent to the server when you run all te tests of an exercise at once. If you run the tests one by one the results will not be sent to the servers. Inspect the test resultsTests that pass will be green. Tests that don't pass will be red. The name of the test gives an indication of what is tested in the automated test. If you click on a test you can also read more detailed messages that may help you to find out what is going wrong. Although it is not a guarantee, having all tests green is a good indication that you completed the exercise correctly. Check your results onlineTest results of all students are sent to the Guts servers. You can check your progress and compare with the averages of other students via guts-web.pxl.be. Login, go to ".NET Essentials" in the navigation bar and select the chapter you want to view. Save (commit) your workIt could happen that the code in the online repository changes and that you need to pull (download) a new version of the start code in your local repository. The online repository does not contain your solutions. Pulling a new version of the code could result in you losing your work. To avoid this you should regularly commit (save) your work in your local git database. If you have commited your work an you pull a new version, git will be able to automatically merge your work with the online changes. It is recommended to do a git commit every time you complete an exercise.
Get a new version of the start codeIt could happen that the lecturers fix bugs in the automated tests of the startcode or add new exercises and/or tests. Follow the steps below to get the new version of the code:
|
2022-08-15
2022-08-17
2022-09-23
2023-10-27
2022-08-18
请发表评论