You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cli package is not currently tested. It would be nice to write some tests, and the demo seems like a good place to start.
Description of the Design
Activate ava test coverage in cli package
Create an ava entry point which tests each section in isolation after running endo purge -f.
For each runnable section of the cli demo, produce a bash script executing that functionality and a log of the expected output of the script, then assert equality of the expected and observed output of the script using diff (for an example see the description of this issue).
A counter example
Doubler Agent
Sending Messages
Names in transit...
Mailboxes are symmetric
Familiar Chat (note UI interaction)
Running a confined script
Out of Scope
Programmatically ensuring that the documented functionality aligns with the tested functionality
The text was updated successfully, but these errors were encountered:
You may have more luck ensuring portability if the tests are framed as Node.js shelling out to the CLI. Execa is popular at Agoric. https://www.npmjs.com/package/execa
What is the Problem Being Solved?
The cli package is not currently tested. It would be nice to write some tests, and the demo seems like a good place to start.
Description of the Design
endo purge -f
.For each runnable section of the cli demo, produce a bash script executing that functionality and a log of the expected output of the script, then assert equality of the expected and observed output of the script using diff (for an example see the description of this issue).
Out of Scope
The text was updated successfully, but these errors were encountered: