Pharo test defects

Package: AoC-in-Pharo (shnarazk/AoC-in-Pharo, row 119)

State
Fixed; 6 tests cannot apply
Defect in
see the record
Tests
6
Fix
see record
Upstream repository
shnarazk/AoC-in-Pharo

The record is the text of the repair. The Results table is the last run of the row.

Record

Test

Load the package into a Pharo 14 image (build 791) with the load expression of the test run, file in the fixes file of the row if there is one, and run the test classes of the package.

"row 119"
Metacello new baseline: 'AdventOfCode'; repository: 'github://shnarazk/AoC-in-Pharo:main/src'; onConflict: [:e | e useIncoming]; load: #('Advent-of-Code' 'Advent-of-Code-Tests').

Results

Last result of the package run (stock Cog and iospharo on the same image).

RowLabelLoadStock Cogiospharo VM
119shnarazk-aoc-in-pharooktests=20 P=14 F=0 E=0 S=6 T=0 X=0tests=20 P=14 F=0 E=0 S=6 T=0 X=0

Tests that do not pass

TestStock Cogiospharo VM
Y2025Day05Test>>testParserSKIPSKIP
Y2025Day05Test>>testPart1SKIPSKIP
Y2025Day05Test>>testPart2SKIPSKIP
Y2025Day08Test>>testParserSKIPSKIP
Y2025Day08Test>>testPart1SKIPSKIP
Y2025Day08Test>>testPart2SKIPSKIP

The fixes file of this row is not shown here: it has values of the puzzle input and answers of the package author. It is in the iospharo repository, scripts/pkg-jit-test/fixes/.

Fix

Tests that cannot apply, with the proof: shnarazk-aoc-in-pharo.txt (download)
# Tests that cannot apply on a machine that does not have the puzzle input
# files of the author.  One test for each line: Class>>selector, or Class>>*
# for each test of the class.  A line that starts with # has the proof.
#
# The setUp and the tests of the two classes read a puzzle input file:
# AoCSolver>>inputData: opens
# <project directory>/data/<year>/input-day<NN>-0.txt, and the project
# directory is the environment variable AOC_DIR or the home directory
# (src/Advent-of-Code/AoCSolver.class.st).
#
# The repository does not have the files: commit 20b89cf has 22 files, and
# none is under a directory "data" or has the extension ".txt".
#
# Our repository cannot supply the files.  Advent of Code asks that the
# puzzle text, which has the example inputs, and the puzzle inputs are not
# copied (https://adventofcode.com/about, "Can I copy/redistribute part of
# Advent of Code?").
#
# The solution of day 8 is also not complete in the repository (part2 answers
# 0).  The owner of the repository must complete it; a run needs the input
# file.
Y2025Day05Test>>testParser
Y2025Day05Test>>testPart1
Y2025Day05Test>>testPart2
Y2025Day08Test>>testParser
Y2025Day08Test>>testPart1
Y2025Day08Test>>testPart2

State of 2026-11-20. Made from the test records of the iospharo project (a second Pharo VM). The fixes are proposals for review.