I would like to make use of NUnit's Sequential attribute with arrays.
string[] oldSitesArray = new string[]
{
"http://www.LegacySite.com",
"http://someURLgoeshere.com"
};
string[] newSitesArray = new string[]
{
"http://www.LegacySiteUpdatedURL.com",
"http://someURLgoeshereUpdatedSite.com"
};
[Test]
public void keywordsTest()
{
Assert.IsTrue(this.scc.metaKeywordsChecker(oldSites, newSites));
}
The goal here is to pass in two arrays (using the sequential attribute). One array contains the legacy site URLs, the second array contains the migrated URLs.
The metaKeywordsChecker function takes two Strings. One is the old URL, the other is the updated URL. I have a list of 1,700 URL pairs (array #1 and array #2) that I need to pass into the test sequentially.
[Sequential]or to compare two arrays?