我们在C#(NUnit)中是否具有类似于Java(Selenium TestNG)中@BeforeSuite批注的任何属性?
See: https://github.com/nunit/docs/wiki/Attributes
I think you are looking for OneTimeSetup.
Based on the docs you can use SetUpAttribute
:
[SetUp]
public void Init()
{
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.