Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39654 > unrolled thread
| Started by | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| First post | 2013-02-23 10:16 +0000 |
| Last post | 2013-02-23 10:16 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Unit Test case for complie/test Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-02-23 10:16 +0000
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2013-02-23 10:16 +0000 |
| Subject | Re: Unit Test case for complie/test |
| Message-ID | <mailman.2333.1361614624.2939.python-list@python.org> |
On 23/02/2013 06:13, jitendra gupta wrote: > Hi, > > I am working one tool, which will do compile/run the workspace (that > code is written on c/c++). on that my requirment is i need to compile > subfolder also, i have wrote code for that also. > My problem is , i am unable to write the Unit test case for that. > Since my method (called run_subfolder) is not retrurning any thing > (this will create one command line argument in that i am adding > subfolder condition and passing to the another class which will do > actual thing) . For this method i need to write unit test case. Since i > dont have to workspace also , so that i can test this case . Please > advise on this. what i need to do. this is possible or not, if not why. > > Some forum suggested use mox. but i dont have more idea on this . in mox > how i will get thet output of the function > > Thanks > Jitendra Kumar > Please refer to the answer that Alan Gauld provided on the tutor mailing list. -- Cheers. Mark Lawrence
Back to top | Article view | comp.lang.python
csiph-web