Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #5837

[Python-de] Re: Review eines Project Layouts

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From <c.buhtz@posteo.jp>
Newsgroups de.comp.lang.python
Subject [Python-de] Re: Review eines Project Layouts
Date Sun, 10 Jul 2022 13:53:46 +0000
Lines 36
Message-ID <4LgpQP3TF5z6trN@submission01.posteo.de> (permalink)
References <4LZyBw0LNDz9rxP@submission02.posteo.de> <3571fa2e-b483-2008-c8d0-de4ec395beba@crazy-compilers.com>
Reply-To python-de@python.org
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de JtzcBMY+eDAfyeGTXWUUoAYFQNSuhuQjLISSbFdz6UrQ==
Authentication-Results mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=posteo.jp header.i=@posteo.jp header.b=a0ErSg3M; dkim-adsp=pass; dkim-atps=neutral
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.jp; s=2017; t=1657461230; bh=ucix/1lD+n65qKOnYj/rBZ41bSrRsnDPovDnm68/+4I=; h=Date:From:To:Subject:From; b=a0ErSg3MGuxTJIAUqx8b6WGzTWO0BaRaQ8b2woj2EdbDKJXfWDFl1kHgGWY6Lb4zi gYSfBMAyLy+709M70Lo8xV6jJc18LvTL6LY97nUrqeCbUjqV5p8Z/qyliabE1n7mLC QVkuhmqWQmaErPGO1B8P9aOknf30we+Zscw5Nm1nshIIJzKOchACmGr0/IO31uKO4F TgswYvR0HDrP3bZdILUbxrLjd5WhKJN/phRLM7b05h+w00GASHi6Pol8fGYWLO03/7 sMfm4c2Up/inFNXOKHy4okTmGlvIfrC191BfdJMHEhf2+4nUZLgDLn4r+5E1XxQ0wi 1mVdQ6S2ildHA==
In-Reply-To <3571fa2e-b483-2008-c8d0-de4ec395beba@crazy-compilers.com>
Message-ID-Hash 3BMK6BNF5Q6NLVQY5KORAGXXCRE4ASAH
X-Message-ID-Hash 3BMK6BNF5Q6NLVQY5KORAGXXCRE4ASAH
X-MailFrom c.buhtz@posteo.jp
X-Mailman-Rule-Misses dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-python-de.python.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version 3.3.6b1
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
Archived-At <https://mail.python.org/archives/list/python-de@python.org/message/3BMK6BNF5Q6NLVQY5KORAGXXCRE4ASAH/>
List-Archive <https://mail.python.org/archives/list/python-de@python.org/>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Owner <mailto:python-de-owner@python.org>
List-Post <mailto:python-de@python.org>
List-Subscribe <mailto:python-de-join@python.org>
List-Unsubscribe <mailto:python-de-leave@python.org>
Xref csiph.com de.comp.lang.python:5837

Show key headers only | View raw


Hallo Hartmut,

danke für dein Feedback.

On 2022-07-03 10:04 Hartmut Goebel <h.goebel@crazy-compilers.com> wrote:
> Was Du „Source Directory” nennst, die das „package“. Die Tests dort
> zu haben ist m.E. keine gute Idee,

Sehe ich ja auch so. Auch deine Ausführungen dazu verstehe ich.

> kostet Strom — Keinvieh macht auch Mist — und Strom sollen wir 
> angesichts der anrollenden Klimiakatastrophe sparen.

Ich sehe wir sind auf der selben Linie.

> > "python3 -m unittest
> > styleframe.tests.style_frame_tests.StyleFrameTest"
> Du möchtest auf pytest umstellen. :-) 
> https://github.com/pytest-dev/unittest2pytest ist Dein Freund.

Nein möchte ich nicht, selbst wenn es mein Projekt wäre. Pytest und
unittests haben beide ihre Daseinsberechtigung und ich ich gebe keinem
vom beiden den generellen Vorzug.

Aber das pytest mit einem sub-optimalen (und evtl. sogar regelwidrigen)
Projekt-Layout klarkommt, betrachte ich nicht als Vorteil, sondern eher
im Gegenteil.

Wie sollen die User etwas lernen, wenn die Tools ihnen alles durchgehen
lassen. ;)

SG
Christian

Back to de.comp.lang.python | Previous | NextPrevious in thread | Find similar


Thread

[Python-de] Review eines Project Layouts <c.buhtz@posteo.jp> - 2022-07-02 16:27 +0000
  [Python-de] Re: Review eines Project Layouts Hartmut Goebel <h.goebel@crazy-compilers.com> - 2022-07-03 10:04 +0200
    [Python-de] Re: Review eines Project Layouts <c.buhtz@posteo.jp> - 2022-07-10 13:53 +0000

csiph-web