Re: [Tutor] Integrating TDD into my current project work-flows :p:

2015-05-05 Thread Thomas C. Hicks
On 05/06/2015 07:18 AM, WolfRage wrote: I find myself in the same mind set as this individual: http://stackoverflow.com/a/64453/4285911 It is hard to write a proper test with out me initially outlining where I am going. Perhaps I need to better understand planning and drafting a programming pro

Re: [Tutor] Integrating TDD into my current project work-flows

2015-05-05 Thread Mark Lawrence
On 06/05/2015 00:16, WolfRage wrote: On 05/05/2015 06:49 PM, Alan Gauld wrote: Not better, just necessary. The two concepts are complementary. You need both. The developer primarily needs unit testing, the integrator*(who may of course be the developer in a different role) needs integration tes

Re: [Tutor] Integrating TDD into my current project work-flows

2015-05-05 Thread WolfRage
I find myself in the same mind set as this individual: http://stackoverflow.com/a/64453/4285911 It is hard to write a proper test with out me initially outlining where I am going. Perhaps I need to better understand planning and drafting a programming project before I can hope to emulate TDD.

Re: [Tutor] Integrating TDD into my current project work-flows

2015-05-05 Thread WolfRage
On 05/05/2015 06:49 PM, Alan Gauld wrote: Not better, just necessary. The two concepts are complementary. You need both. The developer primarily needs unit testing, the integrator*(who may of course be the developer in a different role) needs integration testing and the client/project manager ne

Re: [Tutor] Integrating TDD into my current project work-flows

2015-05-05 Thread Alan Gauld
On 05/05/15 22:24, WolfRage wrote: As I am reading about TDD and unittests and the likes. I am thinking that testing from a "higher" level is better as compared to the "unit" level testing. Not better, just necessary. The two concepts are complementary. You need both. The developer primarily n

Re: [Tutor] Integrating TDD into my current project work-flows

2015-05-05 Thread WolfRage
Update: My previous hack, has been changed. I now put: import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), '..')) in the __main__.py file located under the tests/ directory and it is only needed the one time in that one file. Not sure why I was thinking I would need to

Re: [Tutor] Integrating TDD into my current project work-flows

2015-05-05 Thread WolfRage
On 05/04/2015 04:49 PM, Martin A. Brown wrote: Hi there, Yes, a bit ugly. Have you tried using nose? I have used a similar project development tree and use nose to run the tests. I had thought about it, but decided not too, since it was not part of the standard library. But then again, it is

Re: [Tutor] Integrating TDD into my current project work-flows

2015-05-05 Thread WolfRage
On 05/05/2015 10:59 AM, Oscar Benjamin wrote: My projects are structured like: Project > develop > Project > Project > __main__.py tests > __main__.py I want to be able to execute my Project from a cwd of: Project/develop/Project as: Python3 -m Project That curre

Re: [Tutor] Integrating TDD into my current project work-flows

2015-05-05 Thread Oscar Benjamin
On 4 May 2015 at 20:04, WolfRage wrote: > I would like some help integrating TDD into my current projects. > My chosen TDD framework is unittest from the standard library. > My system details are: Linux Mint 17.1 64-bit, Python 3.4, bzr(for version > control). > > My projects are structured like:

Re: [Tutor] Integrating TDD into my current project work-flows

2015-05-04 Thread Martin A. Brown
Hi there, I would like some help integrating TDD into my current projects. My chosen TDD framework is unittest from the standard library. My system details are: Linux Mint 17.1 64-bit, Python 3.4, bzr(for version control). My projects are structured like: Project > develop > Project > Proje

[Tutor] Integrating TDD into my current project work-flows

2015-05-04 Thread WolfRage
I would like some help integrating TDD into my current projects. My chosen TDD framework is unittest from the standard library. My system details are: Linux Mint 17.1 64-bit, Python 3.4, bzr(for version control). My projects are structured like: Project > develop > Project > Project > __main__.