It would be helpful to be able to say that Test B requires Test A to complete, even if it fails. The example would be CRUD tests where even if the "Update" test failed, I still want to proceed with the "Delete" test in the suite.
1) Create a new object
2) Retrieve the newly-saved object.
3) (Depends on 2) Update the new object
4) (Depends on 3) Delete the new object
An optional boolean "MustPass" or, alternatively, "ProceedOnFailure" property on DependsOnAttribute would probably be enough. The default behavior should be that the named test must pass for this one to run, which is what it does now.
It would be helpful to be able to say that Test B requires Test A to complete, even if it fails. The example would be CRUD tests where even if the "Update" test failed, I still want to proceed with the "Delete" test in the suite.
1) Create a new object 2) Retrieve the newly-saved object. 3) (Depends on 2) Update the new object 4) (Depends on 3) Delete the new object
An optional boolean "MustPass" or, alternatively, "ProceedOnFailure" property on
DependsOnAttribute
would probably be enough. The default behavior should be that the named test must pass for this one to run, which is what it does now.