Last active
August 29, 2015 14:07
-
-
Save ilya-murzinov/95eb0dd6edd742ee2de0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is attachment! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<test-suite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" start="1412418999704" stop="1412418999729" version="1.4.0" xmlns="urn:model.allure.qatools.yandex.ru"> | |
<name xmlns="">MyAssembly.TestSuite</name> | |
<test-cases xmlns=""> | |
<test-case start="1412418999706" stop="1412418999708" status="passed"> | |
<name>MyAssembly.TestSuite</name> | |
<attachments> | |
<attachment title="StdOut" source="guid-attachment.txt" type="text/plain" /> | |
</attachments> | |
</test-case> | |
</test-cases> | |
</test-suite> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace MyAssembly | |
{ | |
[TestFixture] | |
public class TestSuite | |
{ | |
[Test] | |
public void Test() | |
{ | |
doSomething(); | |
makeAttachment(); | |
doAnotherThing(); | |
} | |
private void doSomething() | |
{ | |
} | |
private void doAnotherThing() | |
{ | |
} | |
[Attachment] | |
private string makeAttachment() | |
{ | |
return "This is the attachment!"; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment