On Tue, Mar 18, 2014 at 12:25 PM, Alexei Peters <[email protected]> wrote:
> Hi Tharindu, > It looks like PyUnit is in fact the unittest module in python (from their > docs, *'Unless you're stuck in the year 2000, PyUnit is in your Python > standard library as module unittest.'*) > Yes, they are both the same. > > I also just saw this: https://pypi.python.org/pypi/pytest-django/ > One thing caught my eye when they describe the advantages of pytest which > was "Database re-use: no need to re-create the test database for every test > run." > That may be something we might have to look out for. > Interesting. I have not worked with py.test yet. The documentation is pretty convincing but I think we better have a look at these[1][2] comparisons as well. (Also note that these discussions are quite old and probably obsolete). Also, I found[3][4][5] to be very comprehensive articles on Python testing frameworks. So this might be a good starting point to decide where we will be going with our testing work-flow. [1] http://stackoverflow.com/questions/191673/preferred-python-unit-testing-framework [2] http://bytes.com/topic/python/answers/43330-unittest-vs-py-test [3] http://pythontesting.net/framework/pytest/pytest-introduction/ [4] http://halfcooked.com/presentations/pyconau2013/why_I_use_pytest.html [5] http://pydanny.com/pytest-no-boilerplate-testing.html Thanks, -Tharindu. > > Anyway, we have options. > Cheers, > Alexei > > > Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 > > > On Mon, Mar 17, 2014 at 11:38 PM, Tharindu Rusira < > [email protected]> wrote: > >> >> >> >> On Tue, Mar 18, 2014 at 11:59 AM, Alexei Peters <[email protected]>wrote: >> >>> Hi Tharindu, >>> Django uses the builtin unittest module. It would be nice to use that >>> if possible. >>> >> Of course it's possible, Alexei. I think that would be a better approach >> to use this native unittest module. >> >> Thanks, >> -Tharindu >> >> >>> >>> https://docs.djangoproject.com/en/dev/topics/testing/ >>> >>> Cheers, >>> Alexei >>> >>> >>> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 >>> >>> >>> On Mon, Mar 17, 2014 at 10:05 PM, Tharindu Rusira < >>> [email protected]> wrote: >>> >>>> Thanks Alexei, >>>> In my gsoc project I'm planning to write unit tests using PyUnit[1]. So >>>> I wanted to know whether PyUnit framework is fine or we have a project >>>> specific test mechanism. >>>> >>>> [1] http://pyunit.sourceforge.net >>>> >>>> Regards, >>>> On Mar 18, 2014 10:05 AM, "Alexei Peters" <[email protected]> wrote: >>>> >>>>> Hi Tharindu, >>>>> At the moment we don't have any automated test routines. >>>>> That's why we have project "Integrate a build/ci server and automated >>>>> unit tests into the Arches dev environment". >>>>> It would be lovely to have that! >>>>> Cheers, >>>>> Alexei >>>>> >>>>> >>>>> Director of Web Development - Farallon Geographics, Inc. - >>>>> 971.227.3173 >>>>> >>>>> >>>>> On Mon, Mar 17, 2014 at 8:39 PM, Tharindu Rusira < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi everyone, >>>>>> I would like to know the current level of code coverage in Arches. I >>>>>> browsed through Arches source code in bitbucket[1] but I could not find >>>>>> any >>>>>> test cases. >>>>>> >>>>>> [1] https://bitbucket.org/arches/arches >>>>>> >>>>>> Thanks, >>>>>> >>>>>> -- >>>>>> M.P. Tharindu Rusira Kumara >>>>>> >>>>>> Department of Computer Science and Engineering, >>>>>> University of Moratuwa, >>>>>> Sri Lanka. >>>>>> +94757033733 >>>>>> www.tharindu-rusira.blogspot.com >>>>>> >>>>>> -- >>>>>> -- To post, send email to [email protected]. To >>>>>> unsubscribe, send email to [email protected]. >>>>>> For more information, visit >>>>>> https://groups.google.com/d/forum/archesproject?hl=en >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Arches Project" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>> >> >> >> -- >> M.P. Tharindu Rusira Kumara >> >> Department of Computer Science and Engineering, >> University of Moratuwa, >> Sri Lanka. >> +94757033733 >> www.tharindu-rusira.blogspot.com >> >> > -- M.P. Tharindu Rusira Kumara Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka. +94757033733 www.tharindu-rusira.blogspot.com -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
