Activity log for bug #505700

Date Who What changed Old value New value Message
2010-01-11 01:30:28 winner bug added bug
2010-01-11 11:17:27 winner description Hi, I have hierarchy like data-driven test cases that’s 3 levels deep. Currently the TestFixture can only be instantiated only a constant number of times. How can I parameterize the TestFixture based on source input, same like the TestCaseSource attribute? Ref: http://groups.google.com/group/nunit-discuss/browse_thread/thread/1628db6b5977876b http://stackoverflow.com/questions/2018758/convert-string-to-c-code-before-compilation Thank you very much. Best regards, Edward Hi, I have hierarchy like data-driven test cases that’s 3 levels deep. Currently the TestFixture can only be instantiated only a constant number of times. How can I parameterize the TestFixture based on source input, same like the TestCaseSource attribute? Ref: http://groups.google.com/group/nunit-discuss/browse_thread/thread/1628db6b5977876b http://stackoverflow.com/questions/2018758/convert-string-to-c-code-before-compilation Here is simple example, I need the NUnit GUI to be something like this. Rectangle Rectagle("length1", "width1") CircleInsideTheRectangle CircleInsideTheRectangle("radius1") MaxSquareOutsideCircleAndInsideRectangleTest MaxSquareOutsideCircleAndInsideRectangleTest("side1") MaxSquareOutsideCircleAndInsideRectangleTest("side2") MaxSquareOutsideCircleAndInsideRectangleTest("side3") ... CircleInsideTheRectangle("radius2") MaxSquareOutsideCircleAndInsideRectangleTest MaxSquareOutsideCircleAndInsideRectangleTest("side4") MaxSquareOutsideCircleAndInsideRectangleTest("side5") Rectagle("length2", "width2") CircleInsideTheRectangle CircleInsideTheRectangle("radius3") MaxSquareOutsideCircleAndInsideRectangleTest MaxSquareOutsideCircleAndInsideRectangleTest("side6") ... The Rectangle and CircleInsideTheRectangle TestFixture class can be any number (it's data driven). The MaxSquareOutsideCircleAndInsideRectangleTest is a data driven test method. For efficiency, I would like the TestFixture class to be instantiated only once for all the child TestFixture and TestCase. Because the setting up and tearing down could take a long time. Thank you very much. Best regards, Edward
2010-01-11 11:47:16 winner description Hi, I have hierarchy like data-driven test cases that’s 3 levels deep. Currently the TestFixture can only be instantiated only a constant number of times. How can I parameterize the TestFixture based on source input, same like the TestCaseSource attribute? Ref: http://groups.google.com/group/nunit-discuss/browse_thread/thread/1628db6b5977876b http://stackoverflow.com/questions/2018758/convert-string-to-c-code-before-compilation Here is simple example, I need the NUnit GUI to be something like this. Rectangle Rectagle("length1", "width1") CircleInsideTheRectangle CircleInsideTheRectangle("radius1") MaxSquareOutsideCircleAndInsideRectangleTest MaxSquareOutsideCircleAndInsideRectangleTest("side1") MaxSquareOutsideCircleAndInsideRectangleTest("side2") MaxSquareOutsideCircleAndInsideRectangleTest("side3") ... CircleInsideTheRectangle("radius2") MaxSquareOutsideCircleAndInsideRectangleTest MaxSquareOutsideCircleAndInsideRectangleTest("side4") MaxSquareOutsideCircleAndInsideRectangleTest("side5") Rectagle("length2", "width2") CircleInsideTheRectangle CircleInsideTheRectangle("radius3") MaxSquareOutsideCircleAndInsideRectangleTest MaxSquareOutsideCircleAndInsideRectangleTest("side6") ... The Rectangle and CircleInsideTheRectangle TestFixture class can be any number (it's data driven). The MaxSquareOutsideCircleAndInsideRectangleTest is a data driven test method. For efficiency, I would like the TestFixture class to be instantiated only once for all the child TestFixture and TestCase. Because the setting up and tearing down could take a long time. Thank you very much. Best regards, Edward Hi, I have hierarchy like data-driven test cases that’s 3 levels deep. Currently the TestFixture can only be instantiated only a constant number of times. How can I parameterize the TestFixture based on source input, same like the TestCaseSource attribute? Ref: http://groups.google.com/group/nunit-discuss/browse_thread/thread/1628db6b5977876b http://stackoverflow.com/questions/2018758/convert-string-to-c-code-before-compilation Here is simple example, I need the NUnit GUI to be something like this. Rectangle      Rectagle("length1", "width1")         CircleInsideTheRectangle             CircleInsideTheRectangle("radius1")                 MaxSquareOutsideCircleAndInsideRectangleTest                     MaxSquareOutsideCircleAndInsideRectangleTest("side1")                     MaxSquareOutsideCircleAndInsideRectangleTest("side2")                     MaxSquareOutsideCircleAndInsideRectangleTest("side3")                     ...             CircleInsideTheRectangle("radius2")                 MaxSquareOutsideCircleAndInsideRectangleTest                     MaxSquareOutsideCircleAndInsideRectangleTest("side4")                     MaxSquareOutsideCircleAndInsideRectangleTest("side5")      Rectagle("length2", "width2")         CircleInsideTheRectangle             CircleInsideTheRectangle("radius3")                 MaxSquareOutsideCircleAndInsideRectangleTest                     MaxSquareOutsideCircleAndInsideRectangleTest("side6")     ... The Rectangle and CircleInsideTheRectangle TestFixture class can be any number (it's data driven). The MaxSquareOutsideCircleAndInsideRectangleTest is a data driven test method. While sure everything can be made into TestCaseSource, for complex test the data input will be very long. For efficiency, I would like the TestFixture class to be instantiated only once for all the child TestFixture and TestCase. Because the setting up and tearing down could take a long time. As seen the child require some information from the parent. This may need abstract class and inheritance, but it's not easy to do. Thank you very much. Best regards, Edward
2010-04-17 12:53:30 Charlie Poole nunit-3.0: importance Undecided High
2010-04-17 12:53:33 Charlie Poole nunit-3.0: status New Triaged
2010-09-10 22:13:08 Charlie Poole tags feature feature framework
2013-10-19 01:53:53 Charlie Poole description Hi, I have hierarchy like data-driven test cases that’s 3 levels deep. Currently the TestFixture can only be instantiated only a constant number of times. How can I parameterize the TestFixture based on source input, same like the TestCaseSource attribute? Ref: http://groups.google.com/group/nunit-discuss/browse_thread/thread/1628db6b5977876b http://stackoverflow.com/questions/2018758/convert-string-to-c-code-before-compilation Here is simple example, I need the NUnit GUI to be something like this. Rectangle      Rectagle("length1", "width1")         CircleInsideTheRectangle             CircleInsideTheRectangle("radius1")                 MaxSquareOutsideCircleAndInsideRectangleTest                     MaxSquareOutsideCircleAndInsideRectangleTest("side1")                     MaxSquareOutsideCircleAndInsideRectangleTest("side2")                     MaxSquareOutsideCircleAndInsideRectangleTest("side3")                     ...             CircleInsideTheRectangle("radius2")                 MaxSquareOutsideCircleAndInsideRectangleTest                     MaxSquareOutsideCircleAndInsideRectangleTest("side4")                     MaxSquareOutsideCircleAndInsideRectangleTest("side5")      Rectagle("length2", "width2")         CircleInsideTheRectangle             CircleInsideTheRectangle("radius3")                 MaxSquareOutsideCircleAndInsideRectangleTest                     MaxSquareOutsideCircleAndInsideRectangleTest("side6")     ... The Rectangle and CircleInsideTheRectangle TestFixture class can be any number (it's data driven). The MaxSquareOutsideCircleAndInsideRectangleTest is a data driven test method. While sure everything can be made into TestCaseSource, for complex test the data input will be very long. For efficiency, I would like the TestFixture class to be instantiated only once for all the child TestFixture and TestCase. Because the setting up and tearing down could take a long time. As seen the child require some information from the parent. This may need abstract class and inheritance, but it's not easy to do. Thank you very much. Best regards, Edward [Bug now tracked at https://github.com/nunit/nunit-framework/issues/2] I have hierarchy like data-driven test cases that’s 3 levels deep. Currently the TestFixture can only be instantiated only a constant number of times. How can I parameterize the TestFixture based on source input, same like the TestCaseSource attribute? Ref: http://groups.google.com/group/nunit-discuss/browse_thread/thread/1628db6b5977876b http://stackoverflow.com/questions/2018758/convert-string-to-c-code-before-compilation Here is simple example, I need the NUnit GUI to be something like this. Rectangle      Rectagle("length1", "width1")         CircleInsideTheRectangle             CircleInsideTheRectangle("radius1")                 MaxSquareOutsideCircleAndInsideRectangleTest                     MaxSquareOutsideCircleAndInsideRectangleTest("side1")                     MaxSquareOutsideCircleAndInsideRectangleTest("side2")                     MaxSquareOutsideCircleAndInsideRectangleTest("side3")                     ...             CircleInsideTheRectangle("radius2")                 MaxSquareOutsideCircleAndInsideRectangleTest                     MaxSquareOutsideCircleAndInsideRectangleTest("side4")                     MaxSquareOutsideCircleAndInsideRectangleTest("side5")      Rectagle("length2", "width2")         CircleInsideTheRectangle             CircleInsideTheRectangle("radius3")                 MaxSquareOutsideCircleAndInsideRectangleTest                     MaxSquareOutsideCircleAndInsideRectangleTest("side6")     ... The Rectangle and CircleInsideTheRectangle TestFixture class can be any number (it's data driven). The MaxSquareOutsideCircleAndInsideRectangleTest is a data driven test method. While sure everything can be made into TestCaseSource, for complex test the data input will be very long. For efficiency, I would like the TestFixture class to be instantiated only once for all the child TestFixture and TestCase. Because the setting up and tearing down could take a long time. As seen the child require some information from the parent. This may need abstract class and inheritance, but it's not easy to do. Thank you very much. Best regards, Edward
2013-10-19 01:54:30 Charlie Poole tags feature framework github