开发者

What is the namespace of NUnit CollectionAssert?

开发者 https://www.devze.com 2023-03-16 07:53 出处:网络
I have the following: using System; using System.Text; using System.Text.RegularExpressions; using System.Threading;

I have the following:

using System;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using NUnit.Framework;
using Selenium;
using System.Collections.Generic;

but still can not get CollectionAssert which I found on CollectionA开发者_JAVA百科ssert (NUnit 2.4)

The printscreen:

What is the namespace of NUnit CollectionAssert?


It's definitely in the NUnit.Framework namespace in the nunit.framework assembly - I've just downloaded NUnit 2.5.10 to check.

I suggest you check which version of nunit.framework you're really referencing, and open it up in Reflector to check for the existence of CollectionAssert.

0

精彩评论

暂无评论...
验证码 换一张
取 消