This is a beginner level task for practicing AutoCode tasks management. Translations: Russian.
- Open a project from your remote repository or get your local copy with Visual Studio.
- Open a Solution Explorer.
- Click on the menu item - View\Solution Explorer.
- Or use the default keyboard shortcut - Ctrl+W, S.
- Find "HelloWorld" and "HelloWorld.Tests" projects in the Solution Explorer view.
- Open the "HelloWorld" project and find SimpleHelloWorld.cs file in the project. Open the file in the editor window.
- Open the "HelloWorld.Tests" project and find SimpleHelloWorldTests.cs file in the project. Open the file in editor window.
- Build the solution.
- Click on menu item - Build\Build Solution.
- Or use default keyboard shortcut - Ctrl+Shift+B.
- Open the Error List view, and make sure there are no compiler issues (warnings or errors).
- Click on menu item - View\Error List.
- Or use default shortcut - Ctrl+W, E.
- Open Test Explorer. All tests in the test list are have blue icon with white exclamation mark. That tell us the unit tests were not run.
- Click on the menu item - View\Test Explorer.
- Or use the default keyboard shortcut - Ctrl+E, T.
- Right click on "HelloWorld.Tests" list item and click on "Run" menu item. All list items should be marked "green".
- Or use the default shortcut - Ctrl+R, T.
- Unfold the list in Test Explorer (if necessary), right click on "ReturnHelloWorld" unit test, and click on "Run" menu item. The selected list item should stay "green".
- Or use the default shortcut - Ctrl+R, T.
- Run all unit tests.
- Click on the menu item - Test\Run All Tests.
- Or use the defaul keyboard shortcut - Ctrl+R, A.
The solution code has no code tasks to complete. You can go to AutoCode portal, open the task page, and click on the "Check task" button.
Again, there is no need to do any code changes in this task.