--------------------------------------------------------------
Maak 1.0.0: the infinitely extensible command runner
Loading tasks from: /etc/byggsteg/job-clone/lucidplan/trunk/maak.scm
Executing Maak tasks: test
--------------------------------------------------------------
=> Running Maak task: test
Run the test suite with veritas.
The tests live under `test/veritas/': `unit/' for the ones that run on every
change, and `benchmark/' for the ones that measure rather than assert, which
veritas keeps apart because they answer a different question and take a
different amount of time. The application's own directories are on the load
path, so a test names the module it tests the way the application does.
Executing: env VERITAS_TEST_TYPE=unit VERITAS_RUN_BENCHMARKS=true guix time-machine --channels=channels.scm -- shell -m manifest.scm -- guile --fresh-auto-compile -L . -L lib -L test -c '(begin (setlocale LC_ALL "C.UTF-8") (use-modules (veritas runner)) (run-tests))'
channels.scm:19:6: warning: channel 'jointhefreeworld' is not trusted
The following derivation will be built:
/gnu/store/c53jqw01lg511c882vr94vpbrww1v3vl-profile.drv
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 23 packages...
scanning directories for unit tests...
scanning present working directory for unit tests...
shuffled the files with seed 463567636 (replay with VERITAS_SEED=463567636)
found unit tests: (render-page-spec.scm ticket-thread-spec.scm ticket-estimate-spec.scm planning-poker-spec.scm ticket-triage-spec.scm project-go-picker-spec.scm time-entry-spec.scm burndown-spec.scm)
running unit tests from file: render-page-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 463567636 (replay with VERITAS_SEED=463567636)
+----------------------------------------------+
[📑 suite] a page writes text as text
[🧪 test] a string is escaped exactly once
[⚙️ assert] markup characters in text are escaped
✅ got: <div>a < b & c</div>
[🧪 test] a script body is code, not text
[⚙️ assert] a less-than in a script stays a less-than
✅ got: <script>if (a < b) {}</script>
[🧪 test] org prose is markup already
[⚙️ assert] org prose keeps the markup org made
✅ got: #t
[🧪 test] a style attribute stays an attribute
[⚙️ assert] a dotted style attribute is written as it is
✅ got: <div style="color: red">x</div>
[🧪 test] a style body is CSS, not text
[⚙️ assert] a child selector in a style stays a selector
✅ got: <style>.a > .b { color: red; }</style>
ℹ️ info - ran 1 tasks in: 0 seconds, 3329 microseconds
ℹ️ info - counted 1 file, 1 suite, 5 tests and 5 assertions
running unit tests from file: ticket-thread-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 463567636 (replay with VERITAS_SEED=463567636)
+----------------------------------------------+
[📑 suite] the name a file is served under
[🧪 test] what a header cannot carry is replaced
[⚙️ assert] quotes and backslashes do not survive
✅ got: my _report_.pdf
[⚙️ assert] a line break is replaced
✅ got: line_break.txt
[🧪 test] a name is cut to a length a header can carry
[⚙️ assert] a very long name is shortened
✅ got: #t
[🧪 test] a name that is just a name is kept
[⚙️ assert] a plain name survives
✅ got: report.pdf
[🧪 test] only the last component of a submitted path is kept
[⚙️ assert] a path is cut to its last component
✅ got: passwd
[⚙️ assert] a separator a path could be written with does not survive
✅ got: #f
[🧪 test] an empty name is still a name
[⚙️ assert] nothing submitted answers the generic
✅ got: attachment
[⚙️ assert] a name of nothing but space answers it too
✅ got: attachment
[⚙️ assert] no name at all answers it too
✅ got: attachment
+----------------------------------------------+
[📑 suite] how a download is named
[🧪 test] both the plain and the encoded name are carried
[⚙️ assert] the disposition carries the two names
✅ got: (attachment (filename . my report.pdf) (filename* . UTF-8''my%20report.pdf))
[🧪 test] a path in the submitted name never reaches the header
[⚙️ assert] the plain form is cut to the last name
✅ got: hosts
[🧪 test] the disposition is a type and its parameters
[⚙️ assert] the type is the attachment disposition
✅ got: attachment
+----------------------------------------------+
[📑 suite] the type a file is served as
[🧪 test] anything a header cannot carry becomes the generic type
[⚙️ assert] a line break would split the header
✅ got: application/octet-stream
[⚙️ assert] a quoted type is not a type
✅ got: application/octet-stream
[⚙️ assert] no type at all is the generic one
✅ got: application/octet-stream
[⚙️ assert] an empty type is the generic one
✅ got: application/octet-stream
[🧪 test] a media type is kept
[⚙️ assert] a type a header can carry survives
✅ got: text/plain
[⚙️ assert] a type the application made up survives
✅ got: application/vnd.oasis.opendocument.text
+----------------------------------------------+
[📑 suite] how big a file is, said in one line
[🧪 test] a size nobody knows is not a size
[⚙️ assert] no size answers nothing
✅ got:
[🧪 test] larger files are said in the unit a reader expects
[⚙️ assert] a couple of kilobytes
✅ got: 2.0 KB
[⚙️ assert] a couple of megabytes
✅ got: 2.0 MB
[🧪 test] bytes are said as bytes
[⚙️ assert] a small file is counted in bytes
✅ got: 512 B
[⚙️ assert] an empty file is counted too
✅ got: 0 B
+----------------------------------------------+
[📑 suite] the thread a ticket's comments make
[🧪 test] the depth a comment is indented by is how far down it is
[⚙️ assert] a comment on the ticket is not indented
✅ got: 0
[⚙️ assert] a reply is indented once
✅ got: 1
[⚙️ assert] a reply to a reply is indented twice
✅ got: 2
[🧪 test] an id read back from the database names the same comment
[⚙️ assert] a numeric parent names the same comment
✅ got: 1
[🧪 test] a thread that was written wrong still terminates
[⚙️ assert] a cycle is answered at the depth reached
✅ got: 2
[⚙️ assert] a missing parent is answered at the root
✅ got: 0
[🧪 test] a comment nothing answers has no children
[⚙️ assert] the last word is the last word
✅ got: ()
[🧪 test] the comments on the ticket itself are the ones it hangs from
[⚙️ assert] the roots are the comments with no parent
✅ got: (c1 c4)
[🧪 test] a reply is drawn under what it answers
[⚙️ assert] the answer to the first word
✅ got: (c2)
[⚙️ assert] nothing answers the answer but one
✅ got: (c3)
ℹ️ info - ran 5 tasks in: 0 seconds, 24162 microseconds
ℹ️ info - counted 1 file, 5 suites, 19 tests and 33 assertions
running unit tests from file: ticket-estimate-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 463567636 (replay with VERITAS_SEED=463567636)
+----------------------------------------------+
[📑 suite] a ticket's t-shirt size
[🧪 test] a size on the ladder is taken as it is stored
[⚙️ assert] a size the menu offered is accepted
✅ got: l
[⚙️ assert] a size typed in capitals means the same
✅ got: xl
[⚙️ assert] space around it is not part of it
✅ got: m
[🧪 test] no size is no estimate
[⚙️ assert] an empty form is no size
✅ got: #f
[⚙️ assert] a value that is not text is no size
✅ got: #f
[🧪 test] each size is shown to a reader in capitals
[⚙️ assert] the smallest is shown in capitals
✅ got: XS
[⚙️ assert] the middle of the ladder
✅ got: M
[⚙️ assert] the largest is shown in capitals
✅ got: XXL
[⚙️ assert] a size nobody knows is shown as itself
✅ got: huge
[🧪 test] a size nobody offers is refused
[⚙️ assert] a size off the ladder is refused
✅ got: #f
[⚙️ assert] the ladder is the shipped sequence
✅ got: (xs s m l xl xxl)
+----------------------------------------------+
[📑 suite] an estimate changed from the ticket's own page
[🧪 test] clearing an estimate is a change the menu offers
[⚙️ assert] the empty row changes the ticket
✅ got: ((estimate-points . ))
[🧪 test] a story point the menu offered is accepted
[⚙️ assert] the change is the column and its value
✅ got: ((estimate-points . 8))
[🧪 test] a size nobody offered is refused
[⚙️ assert] a size off the ladder changes nothing
✅ got: #f
[🧪 test] a story point nobody offered is refused
[⚙️ assert] a value off the ladder changes nothing
✅ got: #f
[⚙️ assert] words change nothing
✅ got: #f
[🧪 test] a size the menu offered is accepted
[⚙️ assert] the change is the column and its value
✅ got: ((estimate-size . m))
[⚙️ assert] clearing a size is offered too
✅ got: ((estimate-size . ))
+----------------------------------------------+
[📑 suite] the changes a write to a ticket is recorded with
[🧪 test] several fields that moved are recorded one row each
[⚙️ assert] both estimates moved
✅ got: 2
[🧪 test] an estimate that was never made is not a change
[⚙️ assert] no estimate answers no change
✅ got: ()
[🧪 test] the two ways of saying nothing are the same state
[⚙️ assert] a missing value and an empty text agree
✅ got:
[⚙️ assert] and both are recorded as the empty text
✅ got:
[⚙️ assert] a number is recorded as its text
✅ got: 21
[🧪 test] every tracked field has the name a reader knows it by
[⚙️ assert] the seven tracked fields are named
✅ got: ((title title) (description description) (ticket-status status) (ticket-type type) (priority priority) (estimate-points story points) (estimate-size size))
[🧪 test] a field that moved is recorded with its two values
[⚙️ assert] the title, the label and both values
✅ got: ((title title a ticket another ticket))
[🧪 test] a column the tracker does not watch is not a change
[⚙️ assert] the stamp is not a tracked field
✅ got: #f
[🧪 test] an estimate that was cleared is a change
[⚙️ assert] the estimate it had is recorded
✅ got: (3 )
[🧪 test] a ticket submitted back unchanged is not an edit
[⚙️ assert] nothing moved, so nothing is recorded
✅ got: ()
+----------------------------------------------+
[📑 suite] a ticket's story-point estimate
[🧪 test] a number the team does not estimate with is refused
[⚙️ assert] a value off the ladder is refused
✅ got: #f
[⚙️ assert] a negative estimate is refused
✅ got: #f
[⚙️ assert] words are refused
✅ got: #f
[⚙️ assert] something that is not text is refused
✅ got: #f
[🧪 test] an estimate nobody made is no estimate, not zero
[⚙️ assert] an empty form is no estimate
✅ got: #f
[⚙️ assert] a blank form is no estimate
✅ got: #f
[⚙️ assert] no value at all is no estimate
✅ got: #f
[🧪 test] a number on the team's ladder is taken as that number
[⚙️ assert] a value the menu offered is accepted
✅ got: 5
[⚙️ assert] a number arrives as a number as well
✅ got: 13
[⚙️ assert] space around it is not part of it
✅ got: 3
[⚙️ assert] zero is an estimate somebody made
✅ got: 0
[🧪 test] the ladder is the one the menus and the endpoints share
[⚙️ assert] the points are the shipped sequence
✅ got: (0 1 2 3 5 8 13 21 34)
ℹ️ info - ran 4 tasks in: 0 seconds, 24823 microseconds
ℹ️ info - counted 1 file, 4 suites, 21 tests and 40 assertions
running unit tests from file: planning-poker-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 463567636 (replay with VERITAS_SEED=463567636)
+----------------------------------------------+
[📑 suite] what a round of cards adds up to
[🧪 test] a room that agrees has no spread
[⚙️ assert] one card is no spread
✅ got: #f
[⚙️ assert] the same card twice is no spread
✅ got: #f
[⚙️ assert] no cards is no spread
✅ got: #f
[🧪 test] a round with no mean has none
[⚙️ assert] sizes have no mean
✅ got: #f
[⚙️ assert] no cards have no mean
✅ got: #f
[🧪 test] a spread is the two ends of the disagreement
[⚙️ assert] the lowest and the highest of the points
✅ got: ((low . 2) (high . 13))
[⚙️ assert] the ends of the sizes are sizes
✅ got: ((low . s) (high . xxl))
[🧪 test] the mean of a round of points is a number
[⚙️ assert] two cards average where they sit
✅ got: 6.5
[⚙️ assert] one card is its own mean
✅ got: 3.0
[🧪 test] the room agrees on the card most of it played
[⚙️ assert] the card played most often
✅ got: (5)
[🧪 test] a round nobody played agrees on nothing
[⚙️ assert] no cards, no agreement
✅ got: ()
[🧪 test] a card nobody played is not a row of the tally
[⚙️ assert] two cards were played, in ladder order
✅ got: ((2 . 1) (5 . 2))
[🧪 test] a round nobody played has no tally
[⚙️ assert] no cards, no rows
✅ got: ()
[🧪 test] a tally of sizes is counted too
[⚙️ assert] two sizes, in ladder order
✅ got: ((s . 1) (l . 1))
[🧪 test] an even split is a split, not a decision
[⚙️ assert] both cards of a tie, in ladder order
✅ got: (2 5)
+----------------------------------------------+
[📑 suite] the name a participant is known by
[🧪 test] a name is capped because it is a label on a card
[⚙️ assert] a name at the cap is a name
✅ got: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
[⚙️ assert] one character past it is not
✅ got: #f
[🧪 test] a name of nothing is no name
[⚙️ assert] an empty form
✅ got: #f
[⚙️ assert] a form of spaces
✅ got: #f
[⚙️ assert] nothing at all
✅ got: #f
[⚙️ assert] something that is not text
✅ got: #f
[🧪 test] the space around a name is not part of it
[⚙️ assert] a padded name is trimmed
✅ got: joe
[🧪 test] a run of spaces inside a name is one space
[⚙️ assert] the words are kept, the gap is not
✅ got: joe the dev
+----------------------------------------------+
[📑 suite] what a table may write onto a ticket
[🧪 test] an agreed card is a change a ticket would accept
[⚙️ assert] the agreed points are a submitable change
✅ got: ((estimate-points . 8))
[⚙️ assert] and the agreed size is one too
✅ got: ((estimate-size . xl))
[🧪 test] a card the ladder does not hold is not a change
[⚙️ assert] a number the team does not estimate with
✅ got: #f
[⚙️ assert] a size nobody sizes at
✅ got: #f
[🧪 test] a room that agreed on one card has a number to take
[⚙️ assert] the card everybody played
✅ got: 5
[⚙️ assert] the card most of it played
✅ got: 5
[⚙️ assert] a size is a card too
✅ got: m
[🧪 test] a room that split has nothing to write down
[⚙️ assert] an even split takes no number
✅ got: #f
[⚙️ assert] and the tally still names both
✅ got: (2 5)
[🧪 test] a round nobody played has nothing to write down
[⚙️ assert] no cards, no number
✅ got: #f
[🧪 test] the deck a table deals is the column a ticket carries
[⚙️ assert] points are the ticket's points
✅ got: estimate-points
[⚙️ assert] sizes are the ticket's size
✅ got: estimate-size
[⚙️ assert] a deck with no column has none
✅ got: #f
+----------------------------------------------+
[📑 suite] a card of one of the decks
[🧪 test] a card of the room's deck is taken as the deck spells it
[⚙️ assert] a story point
✅ got: 5
[⚙️ assert] a t-shirt size is lowercased
✅ got: m
[⚙️ assert] space around a card is not part of it
✅ got: 8
[🧪 test] the cards are dealt in the ladder's own order
[⚙️ assert] a hand of points opens on nothing
✅ got: (0 1 2 3 5 8 13 21 34)
[⚙️ assert] a hand of sizes opens on the smallest
✅ got: (xs s m l xl xxl)
[⚙️ assert] a deck nobody deals deals nothing
✅ got: ()
[🧪 test] a card nobody deals is refused
[⚙️ assert] a number off the ladder
✅ got: #f
[⚙️ assert] a size off the ladder
✅ got: #f
[⚙️ assert] a card of the other deck
✅ got: #f
[⚙️ assert] an empty form plays nothing
✅ got: #f
[⚙️ assert] nothing at all plays nothing
✅ got: #f
[🧪 test] a card is shown with the face the ladder gives it
[⚙️ assert] a size is shown in capitals
✅ got: XXL
[⚙️ assert] a number is already what it says
✅ got: 13
[🧪 test] the sizes sort by the ladder and not by their letters
[⚙️ assert] the smallest is the first rung
✅ got: 0
[⚙️ assert] the largest is the last
✅ got: 5
[⚙️ assert] a card nobody deals has no rung
✅ got: #f
+----------------------------------------------+
[📑 suite] the seat a browser holds without an account
[🧪 test] a seat is a room and a secret
[⚙️ assert] one seat reads back
✅ got: ((room-a . secret-1))
[⚙️ assert] two seats read back in written order
✅ got: ((room-a . secret-1) (room-b . secret-2))
[🧪 test] a value that is not a seat is not a seat
[⚙️ assert] no cookie at all
✅ got: ()
[⚙️ assert] an empty cookie
✅ got: ()
[⚙️ assert] an entry without a secret
✅ got: ()
[⚙️ assert] an entry with an empty room
✅ got: ()
[⚙️ assert] a malformed entry is skipped, not obeyed
✅ got: ((room-b . secret-2))
[🧪 test] sitting at a second table does not cost the first seat
[⚙️ assert] the newer seat is written first
✅ got: room-b~secret-2|room-a~secret-1
[⚙️ assert] a seat taken again moves to the front
✅ got: room-a~secret-9|room-b~secret-2
[🧪 test] a seat is found by the room it was taken at
[⚙️ assert] the seat at one room
✅ got: secret-2
[⚙️ assert] no seat at a room nobody sat at
✅ got: #f
[🧪 test] the number of seats a cookie holds is capped
[⚙️ assert] the cap is what the section says
✅ got: 8
[⚙️ assert] the newest seat is the one that is there
✅ got: secret-new
+----------------------------------------------+
[📑 suite] what a browser may know about a card before the reveal
[🧪 test] a seat that played nothing has nothing to show either way
[⚙️ assert] no card, revealed
✅ got: #f
[⚙️ assert] no card, unrevealed
✅ got: #f
[🧪 test] a card is answered once the room is revealed
[⚙️ assert] a point, revealed
✅ got: 5
[⚙️ assert] a size, revealed, in capitals
✅ got: M
[🧪 test] a card is not answered while the cards are face down
[⚙️ assert] a point, not yet revealed
✅ got: #f
[⚙️ assert] a size, not yet revealed
✅ got: #f
+----------------------------------------------+
[📑 suite] the ticket a table is about
[🧪 test] a table opened for nothing is about no ticket
[⚙️ assert] a room with no ticket columns at all
✅ got: #f
[⚙️ assert] a project and no number
✅ got: #f
[⚙️ assert] a number and no project
✅ got: #f
[🧪 test] a table opened for a ticket answers which one
[⚙️ assert] the project and the number in it
✅ got: ((project . lucidplan) (number . 479))
+----------------------------------------------+
[📑 suite] the deck a table deals
[🧪 test] a deck typed in capitals means the same
[⚙️ assert] capitals are the same deck
✅ got: points
[🧪 test] a deck nobody deals is refused
[⚙️ assert] the fibonacci deck is not one of ours
✅ got: #f
[⚙️ assert] an empty form names no deck
✅ got: #f
[⚙️ assert] something that is not text names no deck
✅ got: #f
[🧪 test] a deck is named in the words a reader is shown
[⚙️ assert] the numbers a team burns down
✅ got: story points
[⚙️ assert] what a first pass is written in
✅ got: t-shirt sizes
[🧪 test] a deck the table offers is taken as it is stored
[⚙️ assert] story points
✅ got: points
[⚙️ assert] t-shirt sizes
✅ got: sizes
[🧪 test] the decks are the two ladders a ticket is estimated on
[⚙️ assert] the two the section ships
✅ got: (points sizes)
[⚙️ assert] and their sizes are the ticket ladders
✅ got: (xs s m l xl xxl)
[⚙️ assert] and their points are too
✅ got: (0 1 2 3 5 8 13 21 34)
ℹ️ info - ran 8 tasks in: 0 seconds, 48112 microseconds
ℹ️ info - counted 1 file, 8 suites, 40 tests and 86 assertions
running unit tests from file: ticket-triage-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 463567636 (replay with VERITAS_SEED=463567636)
+----------------------------------------------+
[📑 suite] the assignee a form submitted
[🧪 test] an id that was not offered is refused
[⚙️ assert] an id no menu offered is not an assignee
✅ got: #f
[⚙️ assert] a value that is not text is not an assignee
✅ got: #f
[🧪 test] an id that was offered is answered
[⚙️ assert] a known id is taken as it was submitted
✅ got: user-1
[🧪 test] no assignee is the absence of one, not an unknown user
[⚙️ assert] an empty submission leaves the ticket as it was
✅ got: #f
+----------------------------------------------+
[📑 suite] a status that is not on the list
[🧪 test] is still a ticket somebody is working on
[⚙️ assert] an unknown status is bucketed as open
✅ got: open
[🧪 test] is not in any bucket's list
[⚙️ assert] the done bucket holds the statuses that are done
✅ got: (done)
[🧪 test] reads as itself when there is no label for it
[⚙️ assert] the value stands in for the label
✅ got: polishing
[⚙️ assert] there is no spec for it
✅ got: #f
+----------------------------------------------+
[📑 suite] an inline change from the ticket's own page
[🧪 test] a field a ticket has no ladder for is refused
[⚙️ assert] the priority is not changed this way
✅ got: #f
[🧪 test] a status the project does not move through is refused
[⚙️ assert] a status invented by hand changes nothing
✅ got: #f
[🧪 test] a type is checked against the types a ticket has
[⚙️ assert] a type on the ladder is accepted
✅ got: ((ticket-type . bug))
[⚙️ assert] a type nothing offers is refused
✅ got: #f
[⚙️ assert] the types are the ones the schema holds
✅ got: (task bug story spike time-box)
[🧪 test] a status the project moves through is accepted
[⚙️ assert] the change is the column and its new value
✅ got: ((ticket-status . done))
[🧪 test] with no project list the instance's own is the ladder
[⚙️ assert] the first status of the instance's list is accepted
✅ got: #t
+----------------------------------------------+
[📑 suite] the list a project's tickets move through
[🧪 test] a project that could not be read is not an error
[⚙️ assert] no project at all falls back to the instance
✅ got: ((todo To-do anchor ⚓ open) (work-in-progress Work in Progress gear-fine ⚙️ open) (in-review In Review list-magnifying-glass 🔍 open) (done Done check ✅ done) (rejected Rejected x ❌ rejected))
[🧪 test] a project with a list of its own uses it
[⚙️ assert] the project's own list is the one read
✅ got: (todo shipped)
[🧪 test] a project with none uses the instance's
[⚙️ assert] a project that says nothing falls back to the instance
✅ got: ((todo To-do anchor ⚓ open) (work-in-progress Work in Progress gear-fine ⚙️ open) (in-review In Review list-magnifying-glass 🔍 open) (done Done check ✅ done) (rejected Rejected x ❌ rejected))
+----------------------------------------------+
[📑 suite] the order a list is asked for in
[🧪 test] a keyword nobody offers falls back to the last edited first
[⚙️ assert] an unknown order is the default one
✅ got: ((updated-at desc))
[⚙️ assert] and so is no order at all
✅ got: ((updated-at desc))
[🧪 test] a keyword the pages offer becomes an ORDER BY
[⚙️ assert] the title, A to Z
✅ got: ((title asc))
[⚙️ assert] the priority, highest first
✅ got: ((priority desc))
+----------------------------------------------+
[📑 suite] statuses written by hand
[🧪 test] the bucket is read
[⚙️ assert] a status in the done bucket says so
✅ got: done
[⚙️ assert] a status in the rejected bucket says so
✅ got: rejected
[🧪 test] text that names nothing is not a list of statuses
[⚙️ assert] an empty block answers #f
✅ got: #f
[⚙️ assert] a block of notes alone answers #f
✅ got: #f
[🧪 test] a note and a blank line are skipped rather than read as statuses
[⚙️ assert] the comment is not a status
✅ got: #f
[⚙️ assert] no status was invented by the blank line
✅ got: 3
[🧪 test] the values are read in the order they were written
[⚙️ assert] the read-back values keep their order
✅ got: (todo done rejected)
[🧪 test] each field of an entry is read
[⚙️ assert] the label is read
✅ got: To-do
[⚙️ assert] the icon is read
✅ got: anchor
[⚙️ assert] the glyph is read
✅ got: ⚓
[🧪 test] a field left out takes the default the rest of the code reads
[⚙️ assert] a bucket nothing knows is read as open
✅ got: open
ℹ️ info - ran 6 tasks in: 0 seconds, 24545 microseconds
ℹ️ info - counted 1 file, 6 suites, 22 tests and 33 assertions
running unit tests from file: project-go-picker-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 463567636 (replay with VERITAS_SEED=463567636)
+----------------------------------------------+
[📑 suite] the menu a reader without a script meets
[🧪 test] the links are inside the no-script block
[⚙️ assert] a reader with a script is not offered both
✅ got: #t
[🧪 test] the list names the same projects the menu does
[⚙️ assert] the last project is a link too
✅ got: #t
[🧪 test] the menu is hidden, because it cannot go anywhere
[⚙️ assert] the menu carries the class the no-script sheet hides
✅ got: #t
[🧪 test] the projects are offered as links instead
[⚙️ assert] a project is a link to its board
✅ got: #t
+----------------------------------------------+
[📑 suite] the go to menu is a select a script draws a menu for
[🧪 test] a project is a row that goes to its board
[⚙️ assert] the row names the board it goes to
✅ got: #t
[🧪 test] a row carries no ink of its own
[⚙️ assert] no row is painted by a utility class
✅ got: #f
[🧪 test] the control says what it is for
[⚙️ assert] the control is named for what it chooses
✅ got: #t
[🧪 test] the menu is the native control the page wrote
[⚙️ assert] the markup is a select, not a drawn box
✅ got: #t
[🧪 test] a page of no projects offers no menu
[⚙️ assert] nothing is written for an empty list
✅ got:
ℹ️ info - ran 2 tasks in: 0 seconds, 17702 microseconds
ℹ️ info - counted 1 file, 2 suites, 9 tests and 9 assertions
running unit tests from file: time-entry-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 463567636 (replay with VERITAS_SEED=463567636)
+----------------------------------------------+
[📑 suite] what is not a duration
[🧪 test] a day's worth is the ceiling
[⚙️ assert] more than a day is a typo
✅ got: #f
[⚙️ assert] a bare number past the ceiling is a typo
✅ got: #f
[🧪 test] no time logged is no entry
[⚙️ assert] an empty form is refused
✅ got: #f
[⚙️ assert] a form of nothing but space is refused
✅ got: #f
[⚙️ assert] no value at all is refused
✅ got: #f
[⚙️ assert] zero minutes is not time spent
✅ got: #f
[⚙️ assert] zero hours is not time spent either
✅ got: #f
[🧪 test] what names no duration at all is refused
[⚙️ assert] words are refused
✅ got: #f
[⚙️ assert] a negative duration is refused
✅ got: #f
[⚙️ assert] a unit nobody knows is refused
✅ got: #f
[⚙️ assert] a stray character is not skipped
✅ got: #f
[⚙️ assert] something that is not text is refused
✅ got: #f
[🧪 test] a clock reading is read as a clock, not as two numbers
[⚙️ assert] minutes past the hour are minutes
✅ got: #f
[⚙️ assert] a single minute digit is not a clock
✅ got: #f
+----------------------------------------------+
[📑 suite] a number of minutes, added up in hours
[🧪 test] a whole number of hours is a whole decimal
[⚙️ assert] an hour is 1
✅ got: 1
[⚙️ assert] two hours is 2
✅ got: 2
[🧪 test] a number that is not a duration is zero hours
[⚙️ assert] no value answers zero
✅ got: 0
[🧪 test] part of an hour is a fraction of it
[⚙️ assert] an hour and a half is 1.5
✅ got: 1.5
[⚙️ assert] three quarters is 0.75
✅ got: 0.75
+----------------------------------------------+
[📑 suite] a number of minutes, said to a reader
[🧪 test] a number that is not a duration is said as nothing
[⚙️ assert] no value answers the empty text
✅ got:
[⚙️ assert] a negative duration answers it too
✅ got:
[🧪 test] hours and minutes are said together
[⚙️ assert] an hour and a half
✅ got: 1h 30m
[🧪 test] less than an hour is said in minutes
[⚙️ assert] three quarters of an hour
✅ got: 45m
[🧪 test] a whole number of hours is said in hours
[⚙️ assert] two hours
✅ got: 2h
[🧪 test] nothing is said as nothing rather than as empty space
[⚙️ assert] zero minutes still reads as a duration
✅ got: 0m
+----------------------------------------------+
[📑 suite] what a ticket's time entries add up to
[🧪 test] every entry counts toward the total
[⚙️ assert] two and a half hours over three days
✅ got: 165
[🧪 test] a total reads as a duration and as hours
[⚙️ assert] one hundred and sixty-five minutes
✅ got: 2h 45m
[⚙️ assert] and as the hours a report adds up in
✅ got: 2.75
[🧪 test] a row that is not a duration does not break the sum
[⚙️ assert] a malformed row counts as nothing
✅ got: 120
[🧪 test] a ticket nobody logged time on adds up to nothing
[⚙️ assert] no entries is no minutes
✅ got: 0
+----------------------------------------------+
[📑 suite] a duration, read the ways it is written
[🧪 test] space around the whole thing is not part of it
[⚙️ assert] a padded form still means its duration
✅ got: 30
[🧪 test] a duration is read in the words it is spoken in
[⚙️ assert] two hours, spelled out
✅ got: 120
[⚙️ assert] three quarters of an hour
✅ got: 45
[⚙️ assert] an abbreviation of an hour
✅ got: 60
[⚙️ assert] an abbreviation of minutes
✅ got: 15
[⚙️ assert] a whole day of work is a day
✅ got: 1440
[🧪 test] the case of what was typed does not matter
[⚙️ assert] capitals are the same duration
✅ got: 90
[🧪 test] an hour and a half is ninety minutes however it is typed
[⚙️ assert] in hours, with a fraction
✅ got: 90
[⚙️ assert] in minutes alone
✅ got: 90
[⚙️ assert] as hours and minutes, run together
✅ got: 90
[⚙️ assert] as hours and minutes, with a space
✅ got: 90
[⚙️ assert] as a clock reading
✅ got: 90
[⚙️ assert] as a bare number of minutes
✅ got: 90
ℹ️ info - ran 5 tasks in: 0 seconds, 26743 microseconds
ℹ️ info - counted 1 file, 5 suites, 20 tests and 43 assertions
running unit tests from file: burndown-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 463567636 (replay with VERITAS_SEED=463567636)
+----------------------------------------------+
[📑 suite] counting the days between two of them
[🧪 test] a value that is not a day is no difference
[⚙️ assert] two things that are not days
✅ got: #f
[🧪 test] the answer is negative when the second day is earlier
[⚙️ assert] a week the other way
✅ got: -7
[🧪 test] the same day is no days apart
[⚙️ assert] a day and itself
✅ got: 0
[🧪 test] a week is seven days
[⚙️ assert] seven days
✅ got: 7
[🧪 test] month lengths and leap years do not disturb the count
[⚙️ assert] across the end of a short month
✅ got: 7
[⚙️ assert] across a leap day
✅ got: 2
[⚙️ assert] across a new year
✅ got: 2
[🧪 test] a day and its number are each other's
[⚙️ assert] the number of a day names it back
✅ got: 2026-10-27
+----------------------------------------------+
[📑 suite] the states a sprint can be in
[🧪 test] the three states are the shipped ladder
[⚙️ assert] planned, active, closed
✅ got: (planned active closed)
[🧪 test] only one state is the one a team is in
[⚙️ assert] active is running
✅ got: #t
[⚙️ assert] planned is not
✅ got: #f
[🧪 test] a state on the ladder is taken as it is stored
[⚙️ assert] an ordinary state
✅ got: active
[⚙️ assert] a state typed in capitals means the same
✅ got: closed
[🧪 test] a stretch of days has to run forwards
[⚙️ assert] an end before its beginning is refused
✅ got: #f
[⚙️ assert] an undated sprint is allowed
✅ got: #t
[⚙️ assert] an open-ended sprint is allowed
✅ got: #t
[🧪 test] a state nobody offers is refused
[⚙️ assert] a state off the ladder is refused
✅ got: #f
[⚙️ assert] something that is not text is refused
✅ got: #f
+----------------------------------------------+
[📑 suite] how a deadline stands, read against today
[🧪 test] a ticket with no deadline has no state
[⚙️ assert] no deadline answers nothing
✅ got: #f
[⚙️ assert] a deadline that is not a day answers nothing
✅ got: #f
[🧪 test] a day within the warning is due soon
[⚙️ assert] a week out is close enough to worry about
✅ got: due-soon
[⚙️ assert] tomorrow is close enough too
✅ got: due-soon
[🧪 test] a day that has passed is overdue
[⚙️ assert] yesterday is overdue
✅ got: overdue
[🧪 test] the warning is a week, and it is the same week everywhere
[⚙️ assert] the threshold the pages share
✅ got: 7
[🧪 test] today is today
[⚙️ assert] the day itself
✅ got: due-today
[🧪 test] a day further out is simply scheduled
[⚙️ assert] the day after the warning
✅ got: scheduled
+----------------------------------------------+
[📑 suite] the line a sprint is burnt down along
[🧪 test] a closed sprint is drawn to its last day
[⚙️ assert] all five days, read afterwards
✅ got: 5
[🧪 test] work finished on a day is burnt on that day, not before
[⚙️ assert] nothing is done on the first day
✅ got: 13
[⚙️ assert] five points are gone on the second
✅ got: 8
[⚙️ assert] and they stay gone on the third
✅ got: 8
[🧪 test] the point a day started with is the scope and what was done
[⚙️ assert] thirteen points were committed
✅ got: 13
[⚙️ assert] five of them were done
✅ got: 5
[🧪 test] a sprint with nothing in it is a flat line at nothing
[⚙️ assert] every day is zero
✅ got: (0 0 0)
[🧪 test] the summary is the last day said once
[⚙️ assert] thirteen committed
✅ got: 13
[⚙️ assert] five done
✅ got: 5
[⚙️ assert] eight left
✅ got: 8
[🧪 test] the committed line falls evenly to nothing on the last day
[⚙️ assert] the first day is the whole commitment
✅ got: 13.0
[⚙️ assert] the second day is three quarters of it
✅ got: 9.75
[⚙️ assert] the third day is half of it
✅ got: 6.5
[🧪 test] a sprint whose end is before its beginning is not drawn
[⚙️ assert] a backwards sprint draws nothing
✅ got: ()
[🧪 test] a day is drawn up to today and no further
[⚙️ assert] three days of a five-day sprint
✅ got: (2026-10-01 2026-10-02 2026-10-03)
[🧪 test] a ticket that was reopened is not still counted as done
[⚙️ assert] five points are burnt on the second day
✅ got: 8
[⚙️ assert] and they come back when the ticket does
✅ got: 13
[🧪 test] an unestimated ticket adds nothing to the sum
[⚙️ assert] the unsized ticket is not counted
✅ got: 5
[🧪 test] a ticket taken out of the sprint stops counting
[⚙️ assert] the scope still holds it on the first day
✅ got: 13
[⚙️ assert] it is gone from the second day on
✅ got: 5
[⚙️ assert] and nothing but the done ticket is left
✅ got: 0
[🧪 test] a sprint with no dates is not drawn
[⚙️ assert] no days to draw
✅ got: ()
+----------------------------------------------+
[📑 suite] the day a submitted date names
[🧪 test] what is not a date is refused
[⚙️ assert] an empty form is no date
✅ got: #f
[⚙️ assert] no value at all is no date
✅ got: #f
[⚙️ assert] a date without its day is refused
✅ got: #f
[⚙️ assert] a date written the other way round is refused
✅ got: #f
[⚙️ assert] a month that does not exist is refused
✅ got: #f
[🧪 test] a day written the way a date field writes it is read
[⚙️ assert] an ordinary day
✅ got: 2026-10-27
[⚙️ assert] space around it is not part of it
✅ got: 2026-10-27
[🧪 test] a day that does not exist is refused
[⚙️ assert] the 31st of February is not a day
✅ got: #f
[⚙️ assert] the 31st of April is not a day
✅ got: #f
[⚙️ assert] the 29th of February 2026 is not a day
✅ got: #f
[⚙️ assert] the 29th of February 2028 is a leap day
✅ got: 2028-02-29
ℹ️ info - ran 5 tasks in: 0 seconds, 39636 microseconds
ℹ️ info - counted 1 file, 5 suites, 32 tests and 59 assertions
global totals: 8 files, 36 suites, 168 tests and 308 assertions
finished running tests
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling test/veritas/unit/render-page-spec.scm
;;; compiling lib/lucidplan/html.scm
WARNING: (hygguile hygguile): imported module (hygguile components select) overrides core binding `select'
;;; compiling lib/lucidplan/config.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/lib/lucidplan/config.scm.go
;;; compiling lib/lucidplan/domain.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/lib/lucidplan/domain.scm.go
WARNING: (lucidplan html): `get-short-commit-sha' imported from both (hygguile hygguile) and (kracht prelude)
WARNING: (lucidplan html): imported module (hygguile hygguile) overrides core binding `select'
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/lib/lucidplan/html.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/test/veritas/unit/render-page-spec.scm.go
;;; compiling test/veritas/unit/ticket-thread-spec.scm
;;; compiling lib/lucidplan/domain/ticket-comment.scm
;;; compiling lib/lucidplan/domain/repo.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/lib/lucidplan/domain/repo.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/lib/lucidplan/domain/ticket-comment.scm.go
;;; compiling lib/lucidplan/attachments.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/lib/lucidplan/attachments.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/test/veritas/unit/ticket-thread-spec.scm.go
;;; compiling test/veritas/unit/ticket-estimate-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/test/veritas/unit/ticket-estimate-spec.scm.go
;;; compiling test/veritas/unit/planning-poker-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/test/veritas/unit/planning-poker-spec.scm.go
;;; compiling test/veritas/unit/ticket-triage-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/test/veritas/unit/ticket-triage-spec.scm.go
;;; compiling test/veritas/unit/project-go-picker-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/test/veritas/unit/project-go-picker-spec.scm.go
;;; compiling test/veritas/unit/time-entry-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/test/veritas/unit/time-entry-spec.scm.go
;;; compiling test/veritas/unit/burndown-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/test/veritas/unit/burndown-spec.scm.go