processing / processing/processing-contributions

Unit tests for scripts/parse_and_validate_properties_txt.py

Offen
#84 1 Kommentar 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

@mingness arbeitet bereits daran.

Seit 09.9.2025.

Vorherrschende Sprache
Python
Sterne
8
Forks
8
Ø Merge
4 T. 22 Std.
Gemergte PRs (30 T.)
3

Beschreibung

This script has pydantic objects with validation - these could be tests for expected behavior.
There are also seven functions -

  • read_properties_txt makes a request, so this will need to be mocked, and edge cases tests
  • all other functions except for set_output and set_output_error can be tested with mock data.
  • set_output and set_output_error don't need to be tested, as these are specific to the github actions

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.