featkpr
Private demo

BookStack: 304 tests pass, 269 proven by the wrong-user check

featkpr writes its tests from the map, per route and per role. In the run of 26 Sep 2026, 17:42 UTC, 304 of them ran against a throwaway copy of BookStack, each as the user it was written for, and all passed. In the wrong-user run of 26 Sep 2026, 17:57 UTC, 269 of them were sent again as the wrong user, someone who should get the opposite answer, and each failed, as it must: 51 were refused to a user without the permission, and 218 were let through for the Admin. None got through when it should not have. The other 35 are unchecked: they all expect access, and the wrong-user run signs in only as users our seed made; none of them lacks the permission.

moved: tests run and wrong-user check

218 expect a refusal: sent as the Admin, who got through, so each failed as it must 51 expect to get through: sent as a user without the permission, refused, so each failed as it must 35 unchecked: none of our seed's users lacks the permission they need
269 of 304 proven by the wrong-user check · run 26 Sep 2026, 17:42 UTC, all 304 passed · wrong-user run 17:57 UTC · 0 got through when they should not have · 0 failed · commit 0f5164ec

Where every test of this run landed #

as the wrong user it failed, as it must as the wrong user it still passed there is no wrong user to send yet passed for its own user
failed as the wrong user, as it must269proven: 218 let through for the Admin when they expect a refusal, 51 refused to a user without the permission when they expect to get through
still passed as the wrong user0would mean a missing permission check, or a test that cannot tell
no wrong user yet35unchecked: they all expect access, and the wrong-user run signs in only as users our seed made; none of them lacks the permission
failed for its own user
0a test that fails for its own user says nothing about the wrong one
BookStack · the run of 26 Sep 2026, 17:42 UTC and its wrong-user run at 17:57 UTC · all 304 tests · commit 0f5164ec · featkpr's records

BookStack: its six steps and the report

See this change live, on a call #

Tim opens BookStack in featkpr with you: the map, the flows, any test and both of its runs.

Ask for a private demo

↑ ↓ to move, Enter to open, Esc to close