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


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

[Python-de] 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] Review eines Project Layouts
Date Sat, 2 Jul 2022 16:27:02 +0000
Lines 33
Message-ID <4LZyBw0LNDz9rxP@submission02.posteo.de> (permalink)
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 6vH89K6RraUd8MN6yHEmLwONdxH4ny51QxCIff/Syqhw==
Authentication-Results mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=posteo.jp header.i=@posteo.jp header.b=o+ECU5iE; dkim-adsp=pass; dkim-atps=neutral
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.jp; s=2017; t=1656779224; bh=mrFzvjUrIjF962OuZuZJA2eE0krsd5aBh4ViqkpPEvA=; h=Date:From:To:Subject:From; b=o+ECU5iERYc8BFp8y8nGTBzgVx7lzUn5PEWaM0vOulgvlGvSfB4iut+K7WmMLgddh CLhnCGHOuyYjy9NvGNh7H50B0V7hmsgVEmRPP1Q8kVh1D3R/Kd48aVjMKvol4+AxAB BIQ/MoGdOXQuYXNEG5Fv6BGE9hYpJemXrmN1IKezWM1dHQBiK1VjfoNlk9p5Or2JKq zXIK4aam/MgAbV99vVgTJdCD6nB7jbibWvYaUTHNawreLo8U71raXtKYrT0m+AuxHz gqxtL36GlKNGg8TkPaBChFBdkTVeAHoyTFq1Z9XUWyz+wGcxKKOZKRlyjA4rmpjNzY fmw5NBVenl+Fw==
Message-ID-Hash 4AWRUOHQW7TDPNXH7YBHKYA6JJEQEPRB
X-Message-ID-Hash 4AWRUOHQW7TDPNXH7YBHKYA6JJEQEPRB
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/4AWRUOHQW7TDPNXH7YBHKYA6JJEQEPRB/>
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:5821

Show key headers only | View raw


Hallo,

ich bin nicht besonders erfahren mit dem Ordner-Layout von Python
Projekten und möchte hier gerne mal die Meinung von etwas Erfahreneren
Entwicklern einholen und sehen, ob ich auf dem richtigen Weg bin.

Es geht um diese Projekt, bei dem ich kein Entwickler oder Maintainer
bin:
https://github.com/DeepSpace2/StyleFrame

Dass das "tests" Directory innerhalb des Source Directory (hier
"styleframe" genannt) ist, habe ich schon öfters gesehen. Das nehme ich
mal als "normal" an, auch wenn es m.W. derzeit nicht mehr das
empfohlene Vorgehen ist.

Aber irgendwas stimmt mit den Tests nicht. Ich kann nicht, auf dem mir
bekannten Weg, einzelnen Test-Klassen oder Methoden explizit auswählen.

Beispielsweise möchte ich die Klasse "StyleFrameTest" (in
style_frame_tests.py) laufen lassen. Mein CWD ist das Projekt-Root.

"python3 -m unittest styleframe.tests.style_frame_tests.StyleFrameTest"

So wird einfach kein Test gefunden. Warum kann ich nicht nachvollziehen.

Ein discover läuft problemlos über alle Tests:
"python3 -m unittest"

Mache ich etwas falsch, oder ist das Layout einfach zu "strange"? Was
könnte man am Projekt diesbezüglich verbessern?

SG
Christian

Back to de.comp.lang.python | Previous | NextNext 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