From: Eric A. <eri...@ma...> - 2003-05-30 23:10:08
|
Whoa! Great job, guys. I can't wait to try out this new functionality for writing new unit tests... -- Eric On Friday, May 30, 2003, at 05:40 PM, SourceForge.net wrote: > Feature Requests item #623272, was opened at 2002-10-14 15:30 > Message generated for change (Comment added) made by nrhorowitz > You can respond by visiting: > https://sourceforge.net/tracker/ > ?func=detail&atid=438938&aid=623272&group_id=44253 > > Category: Interactions > Group: Medium (< 1 pair-month) > Status: Open > Priority: 7 > Submitted By: Eric E. Allen (eallen) > Assigned to: Nobody/Anonymous (nobody) > Summary: allow lifting interactions into a test > > Initial Comment: > Story: > > > > The user enters a series of commands to a fresh interactions > > window. The definitions pane is open to a file containing a public > > class extending TestCase. He then pushes a "make into test" > > button in the interactions pane, and the interactions history is > > lifted into a new JUnit test method in the TestCase class in the > > definitions pane. All import and package statements are > > reconciled with those at the top of the source file. All > > incompatibilities between DynamicJava and regular Java syntax > > are detected and reported (or fixed) before continuing. A dialog > > box appears asking the user to name the new test method. > > > > The user continues entering commands into interactions without > > resetting. He then hits the "make into test" button again. All > > interactions since the last time he hit the button are lifted into a > > new test method, again in the open TestCase class. > > > > If the currently open document does not contain a public class > > extending TestCase, a new document is created with a new > > extension of TestCase. The user is prompted to name the new > > class, and the new test method is inserted into it. > > > > It make be advisable to break this story up into a series of smaller > > ones. > > > > -- Eric > > > > ---------------------------------------------------------------------- > >> Comment By: Neal Horowitz (nrhorowitz) > Date: 2003-05-30 15:40 > > Message: > Logged In: YES > user_id=697810 > > What could be considered a first step in this is now > > committed. There is now an action (available through the > > context menu in the interactions pane or through the tools > > menu) that will take the current input in the interactions > > pane and write it to the definitions pane at the current > > caret position. > > ---------------------------------------------------------------------- > > You can respond by visiting: > https://sourceforge.net/tracker/ > ?func=detail&atid=438938&aid=623272&group_id=44253 |