Re: [Pydev-users] importing test code, that is below normal code
Brought to you by:
fabioz
From: Nathan S. <nea...@gm...> - 2015-12-08 11:53:36
|
Also note that hyphens are invalid in module names without special tricks: http://stackoverflow.com/questions/7583652/python-module-with-a-dash-or-hyphen-in-its-name . Best, Nathan On Tue, Dec 8, 2015 at 11:47 AM, Fabio Zadrozny <fa...@gm...> wrote: > I'm not sure I understood what you meant, so, let me try to guess here... > > In PyDev you just need to set the source folders (which are the folders in > your PYTHONPATH) -- see: > http://www.pydev.org/manual_101_project_conf2.html for details > > Then you can run the file with F9, or if it's a test case with Ctrl+F9 -- > see: http://www.pydev.org/manual_101_run.html for details. > > Hope that's what needed to get you going... > > Best Regards, > > Fabio > > On Tue, Dec 8, 2015 at 9:41 AM, peter <com...@ya...> wrote: > >> hi, >> >> >> >> from the commandline in can run: >> python -m code/tests/distance_test >> >> >> in the test class i got: >> from code.find-1-motif-brute-force import y,x,z >> >> tests are under tests, and code is in code. >> >> >> how can i do this with eclipse/pydev? >> >> >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> _______________________________________________ >> Pydev-users mailing list >> Pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-users >> > > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > > |