public void FileNamePlusTransform() { var spec = new NUnit.Engine.OutputSpecification("MyFile.xml;transform=transform.xslt"); Assert.That(spec.OutputPath, Is.EqualTo("MyFile.xml")); Assert.That(spec.Format, Is.EqualTo("user")); Assert.That(spec.Transform, Is.EqualTo("transform.xslt")); }
public void UserFormatMayBeIndicatedExplicitlyBeforeTransform() { var spec = new NUnit.Engine.OutputSpecification("MyFile.xml;format=user;transform=transform.xslt"); Assert.That(spec.OutputPath, Is.EqualTo("MyFile.xml")); Assert.That(spec.Format, Is.EqualTo("user")); Assert.That(spec.Transform, Is.EqualTo("transform.xslt")); }
public void FileNamePlusFormat() { var spec = new NUnit.Engine.OutputSpecification("MyFile.xml;format=nunit2"); Assert.That(spec.OutputPath, Is.EqualTo("MyFile.xml")); Assert.That(spec.Format, Is.EqualTo("nunit2")); Assert.Null(spec.Transform); }