Skip to content

AutomateThePlanet/AutomateThePlanet-Learning-Series

Welcome to the source code repository of Automate The Planet Learning Series!

Please STAR the repository.

This way, you will have a bookmark for easier access and you will show appreciation to our work!

Thank you for being an awesome supporter of the automation testing!

C# Series

Java Series

Under each folder, you will find a separate solution file. Every article from the series has its folder and an info file. To run the examples from particular series you need only its folder.

Running Tests through CLI

To execute your tests via command line in Continues Integration (CI), you can use the native .NET Core test runner.

  1. Navigate to the folder of your test project.
  2. Open the CMD there.
  3. Execute the following command:
dotnet test

For applying filters and other more advanced configuration check the official documentation https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test and https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-vstest.

Both MSTest and NUnit are supported.

Supported Code Editors

The recommended code editor for writing tests is Visual Studio 2019 or higher (preferably installed on Windows).

NOTE: After the support for .NET Core/.NET 5.0 and higher, Microsoft officially does not support .NET Core development in older versions of Visual Studio 2015, 2017 and so on.

Other Supported Editors:

  • Visual Studio Code
  • Visual Studio for Mac
  • Rider: Cross-platform .NET IDE

SDKs and Frameworks Prerequisites

.NET Core SDK 5 or higher (usually comes with Visual Studio installation or updates)

For desktop modules you need to download WinAppDriver. You need to make sure it is started before running any desktop tests.

For mobile modules you need to download and install Appium. You need to make sure it is started before running any mobile tests.