Your current code looks correct so I would check to make sure that the MbUnit.Framework namespace is actually referenced by your project; I believe Visual Studio only warns about such issues. For a good starting tutorial look at http://gallio.org/wiki/doku.php?id=getting_started:my_first_tests.

On 10/26/2012 9:57 PM, [email protected] wrote:
Today's Topic Summary

Group: http://groups.google.com/group/mbunituser/topics

  * How to use Mbunit 4.0 in VS 2010 C# project?I'm a new fish
    <#group_thread_0> [1 Update]

How to use Mbunit 4.0 in VS 2010 C# project?I'm a new fish <http://groups.google.com/group/mbunituser/t/95fb55d0519ad3f3>

    Role fei <[email protected]> Oct 26 02:27AM -0700

    HI,Gays:
    Great to see you! I'm a new fish to Mbunit.
    today I down gallio3.** and install my WIN7 computer. and I open the
    vs 2010 create the new project,add the References find .net Mbunit40.

    this is my code:

    using System.Text;
    using System.Threading;
    using MbUnit.Framework;

    namespace GallioTest
    {
    [TestFixture]
    public class Tclass
    {
    [Test]
    public void addmethedsuccess()
    {
    int a = 1;
    int b = 3;
    Assert.AreEqual(a + b, 4);
    }
    }

    But build is wrong,some error messages. like can't build
    this" [TestFixture]" "[test]". Is there some 《User's manual》doc or
    files
    help the fisher like me?
    These is a few infomation in Chinese about Mbunit40.I don't know
    how to use
    it! It stuck me like a fish bone in my Throat。。

    Thank you very much,guys! I appreciate it
    Best wishs

You received this message because you are subscribed to the Google Group mbunituser.
You can post via email <mailto:[email protected]>.
To unsubscribe from this group, send <mailto:[email protected]> an empty message. For more options, visit <http://groups.google.com/group/mbunituser/topics> this group.

--
You received this message because you are subscribed to the Google Groups "MbUnit.User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mbunituser?hl=en.

--
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mbunituser?hl=en.

Reply via email to