Categories: None [Edit]
kiosk-test-support
kiosk-test-support is the framework-agnostic test surface a Kiosk
provider uses on their OWN application.
It carries two things. The CONFORMANCE CHECKS assert the four
properties the protocol makes normative of an origin: that its routes
resolve, that a verb executes, that a query answers the shape it
declared, and that data access is scoped to the authenticated
principal. They ship with a Minitest adapter and an RSpec adapter, both
loaded by explicit require, so the same fault reads identically in
either framework.
The JOURNEY DSL carries the identity-scoped call helpers
(`as_agent_of`, `as_user`, `as_agent`, `as_anonymous`, `query`,
`run_query`, `run_action`, `pay_action`, `kiosk_seed`), the pluggable
executor contract, a NullExecutor for self-tests, and the structured
error classes (`RLSDenied`, `QuotaExceeded`, `ExecutorNotConfigured`).
It is connected to RSpec by `kiosk-rls-rspec` and into Minitest by
`kiosk-rls-minitest`.
The ASSISTANT drives an origin over HTTP as an assistant does: it
registers, solves proof-of-work tolls, queries, runs, pays with signed
mandates and listens on the event stream. `Kyc` stands in for the
operator's KYC provider, and `StripeMock` fronts a local stripe-mock.
`InProcessExecutor`, `InProcessWire` and `Conformance::InProcessOrigin`
run against kiosk-server, and `Person` signs in through
kiosk-user-idp-devise; both are dependencies. The host's bundle brings
the rest: the Minitest and RSpec adapters use the test framework the
host runs, `LiveServer` serves the app with Puma, and `Wire` solves
Equihash tolls with kiosk-pow-equihash.
Total
Ranking: 194,539 of 198,088
Downloads: 542
Daily
Ranking: 19,573 of 198,053
Downloads: 11
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 194,810 | 515 | kiosk-redteam |
| 195,003 | 495 | kiosk-rls-minitest |
| 195,048 | 490 | kiosk-rls-rspec |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 41 | 835,429,896 | jwt |
| 70 | 662,217,208 | websocket-driver |
| 721 | 84,044,827 | json_schemer |
| 193,549 | 637 | kiosk-core |
| 194,371 | 557 | kiosk-server |
| 194,832 | 513 | kiosk-user-idp-devise |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | pirj |