Two different things = Two tests.
Test_DeleteUser()may be in another test device, as it has a different code Setup()to ensure that the user already exists.
[SetUp]
public void SetUp()
{
CreateUser("Me");
Assert.IsTrue( User.Exists("Me"), "Setup failed!" );
}
[Test]
public void Test_DeleteUser()
{
DeleteUser("Me");
Assert.IsFalse( User.Exists("Me") );
}
This means that if it Test_CreateUser()passes, but Test_DeleteUser()- no - you know that there is an error in the section of code responsible for deleting users.
. - , Creation , , Delete. , , , Setup " "; ( , , .)