Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • The Unit Test Runner does not appear to be recognizing the newer NUnit 2.5 TestCase attribute. According to the NUnit spec the following test is valid:

                                    [TestCase(1,1,Result=2)]
                                    [TestCase(2,1,Result=3)]
                                    [TestCase(4,1,Result=5)]
                                    public int AddSomeNumbers(int num1, int num2)
                                    {
                                        return num1 + num2;
                                    }

                                    The above test should generate 3 separate tests runs within the NUnit framework, and all three should pass. Currently this method is not recognized by the Unit Test Runner as a test method, and is ignored.

                                    Thanks!

                                    Steps to Reproduce:

                                    Run the test above using NUnit 2.5 (I'm running 2.5.2)

                                    Actual Results:

                                    Method is ignored

                                    Expected Results:

                                    3 Test execution runs and 3 separate results.

                                0

                                Hi Casey,

                                Thank you for the report, and for the detailed description of the problem.

                                We've already been informed about this problem. Please check this post:

                                CodeRush Unit Test Runner and [TestCase] in NUnit 2.5.x

                                Our developers have already made necessary changes, and they will be included into the next product version (v9.3.2).

                                Thanks,
                                Vito

                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2017 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners