vendredi 13 novembre 2020

Delphi DunitX, how do I get the name of the test currently running?

How do I get the name of the test that is currently running in DunitX?

For example:

procedure TestModule.TestProcedure;
begin
  Assert.Pass('This tests name is ' + TestName);
end

Aucun commentaire:

Enregistrer un commentaire