Here are the examples of the csharp api Xunit.Xml.TestLogger.AcceptanceTests.TestResultsXmlTests.GetUnitTestCollection(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
19
Source : TestResultsXmlTests.cs
with MIT License
from spekt
with MIT License
from spekt
private XmlNode GetATestXmlNode(
string collectionName = "UnitTest1",
string queryTestName = "Xunit.Xml.TestLogger.NetCore.Tests.UnitTest1.FailTest11")
{
var unitTest1Collection = this.GetUnitTestCollection(collectionName);
var testNodes = unitTest1Collection.SelectNodes($"test[@name=\"{queryTestName}\"]");
return testNodes.Item(0);
}
19
Source : TestResultsXmlTests.cs
with MIT License
from spekt
with MIT License
from spekt
private XmlNodeList GetTestXmlNodePartial(
string collectionName,
string testName)
{
var unitTest1Collection = this.GetUnitTestCollection(collectionName);
var testNodes = unitTest1Collection.SelectNodes($"test[contains(@name, \"{testName}\")]");
return testNodes;
}
19
Source : TestResultsXmlTests.cs
with MIT License
from spekt
with MIT License
from spekt
private XmlNode GetUnitTest1Collection()
{
return this.GetUnitTestCollection("UnitTest1");
}