[wouso-dev] RSoC 2013

Mihai Tiriplica tiriplica.mihai at gmail.com
Fri Jul 26 00:12:24 EEST 2013


2013/7/25 Alex Eftimie <alex at eftimie.ro>

> 2013/7/25 Nicu Badescu <badescunicu at yahoo.com>:
> > On 07/25/2013 11:13 PM, Dan Serban wrote:
> >>
> >> M-am uitat la cateva commit-uri care contin teste, si primele doua
> >> lucruri care-mi sar in ochi sunt:
> >> - multiple asserts per test case (this may be OK, but requires
> >> justification)
> >> - multiple arrange-act-assert cycles per test case, in some cases (code
> >> smell?)
> >>
> >> Sunt acceptabile cele de mai sus din prisma normelor de stil WoUSO?
> >
> >
> > Când am scris testele am încercat să iau modelul celor deja existente.
> > Nu știu dacă sunt acceptabile sau nu, cred că Alex ar fi în măsură să
> > răspundă.
>
> Well, sunt de acord că testele sunt stufoase și ar putea arăta mai
> bine. Mă bucur că Dan a punctat asta și ar trebui să lucrăm să
> îmbunătățim acest aspect.
>
> Nu (mai) există formalizat undeva un coding style wouso; la nivel Python,
> s-a încercat PEP-8, mai sus, sunt câteva patternuri ușor de distins,
> dar nu pot spune că avem un set de reguli bine definit.
>

Salut,
Pentru python e cool cel de la google[1]. Am mai gasit ceva recomandari si
best practices in Two Scoops of Django[2].
Poate scriem un doc in care sa stabilim reguli. Ma pot ocupa eu de asta
daca imi spuneti cum ar trebui sa arate.

[1]http://google-styleguide.googlecode.com/svn/trunk/pyguide.html
[2]https://django.2scoops.org/
<http://google-styleguide.googlecode.com/svn/trunk/pyguide.html>--
Mihai Tiriplică
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rosedu.org/pipermail/wouso-dev/attachments/20130726/882253a8/attachment.html>


More information about the wouso-dev mailing list