GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Unit tests for scripts/parse_and_validate_properties_txt.py · Issue #84 · processing/processing-contributions

Unit tests for scripts/parse_and_validate_properties_txt.py #84

New issue
Copy link
New issue
Copy link
Open
Open
Unit tests for scripts/parse_and_validate_properties_txt.py#84
Copy link
Assignees
mingness

Description

@mingness
mingness
opened on Jun 17, 2025
Issue body actions

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
Reacted by Raphaël de Courville

Activity

  1. mingness
    added a parent issue on Jun 17, 2025
    • improve developer experience of repo #80
  2. mingness
    self-assigned this
    on Sep 9, 2025
  3. mingness commented on Sep 9, 2025

    @mingness
    mingness
    on Sep 9, 2025
    CollaboratorAuthor
    More actions

    with #95 , added tests to pydantic objects
    with #101, test validate_existing, validate_new, validate_new_library

    remaining work would be to write tests for parse_text and read_properties_txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @mingness
    mingness

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402520 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.