> Arnon, how many use cases does your application have? > > Is time to run tests really a bottleneck in your case? > > I'm not sure I know how to answer this question, since we have been working on our code for more than 3 years now, and there is zero testing in it, currently (which makes me nervous obviously...), as testing was never given any thought or priority in our development. I am, as I said, in the process of learning this sub-field and evaluating options, and gathering material to use for "selling" the importance of testing to my supperiors so we can get it into our schedule - we're an animation studio, not a software-company, and it's mainl just me and another single-developer, and we were both new to python when we started this, so this is how it kind of grew out of necessity... But a lot of the code is actually javascript/css, so it's a difficult question for me to think about as of now. We do have some thousands of lines of python-code, and our system has grown to be really large already. We don't yet have a formal process in our development (which is another worry of mine), so I can't really know how many use-cases we have, because we haven't counted them, yet... I would assume it's in the low-hundreds already, though, and going to be pushing to high-hundreds in less than a year from now (maybe even more than a thousand, we'll see), so we are talking about a considerable number of tests, in any case.
BTW, Here is a really awesome talk about test ability: http://pyvideo.org/video/310/pycon-2010--tests-and-testability---188 Using his metric, we should have rougly the same amount of tests-code as there is actual software-code, so by that measure, we are probably talking about roughly 5,000 lines of python-code alone, already, so it's going to be a substantial code-base of tests. And the use-cases are really varied, in that code, if talking 'coverage' metrics, there are many branches in most functions, so the amount of tests might get multiplied... So to sum it up, we are probably talking about many hundreds of tests that we're going to need to write in the following year, so the answer would probably be "yes" for "is performance going to be an issue".... -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.