alcemirfernandes / pynguin

Automatically exported from code.google.com/p/pynguin
GNU General Public License v3.0
0 stars 0 forks source link

hitting "test" seeds the interpreter with the first function defined in the scratchpad, not the last #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. write several functions in the scratchpad
2. hit test
3. see the first seeded in the interpreter
4. write another function [at the bottom of the scratchpad]
5. hit test
6. see the first function seeded in the interpreter, delete it, and write out 
the function you actually want to test

What is the expected output? What do you see instead?
The last function.  The first function.

What version of the product are you using? On what operating system?
HEAD/0.8, Ubuntu 9.10

Please provide any additional information below.
This is really just a usability request, but I find that people in general add 
to the bottom of their scratchpad and want to hit test to prototype those new 
functions.

Original issue reported on code.google.com by aresnick...@gmail.com on 14 Jun 2010 at 12:17

GoogleCodeExporter commented 9 years ago
Just recommend that each function go in a new page. That way the name of the 
function will also show up in the drop down menu.

Original comment by miss...@hotmail.com on 14 Jun 2010 at 11:41

GoogleCodeExporter commented 9 years ago
Try after r013b60374a6f to test the first/last function setting.

Look in Settings -> Preferences -> Editor for the needed setting.

Original comment by miss...@hotmail.com on 2 Aug 2011 at 9:15

GoogleCodeExporter commented 9 years ago
Fixed in version 0.11

Original comment by miss...@hotmail.com on 11 Aug 2011 at 12:52