Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#36 Add SetUpFixture.cs to "Atata NUnit Basic Test Project (.NET Core…
…)" project template
- Loading branch information
1 parent
f43ce58
commit e7aab49
Showing
4 changed files
with
28 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using Atata; | ||
using NUnit.Framework; | ||
|
||
namespace $safeprojectname$ | ||
{ | ||
[SetUpFixture] | ||
public class SetUpFixture | ||
{ | ||
[OneTimeSetUp] | ||
public void GlobalSetUp() | ||
{ | ||
// Find information about AtataContext set-up on https://atata.io/getting-started/#set-up | ||
// NOTE: Driver configuration is required. | ||
// For example, install Selenium.WebDriver.ChromeDriver NuGet package. | ||
AtataContext.GlobalConfiguration | ||
.UseChrome() | ||
.WithArguments("start-maximized") | ||
.UseBaseUrl("https://atata.io/") | ||
.UseCulture("en-US") | ||
.UseAllNUnitFeatures() | ||
.Build(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters