Comments (6)
@nphias most of the work tryorama does is around config generation and environment management, i.e. safely spawning and killing multiple conductors and keeping them from stepping on each others' toes.
It sounds like you just want to run a script that interacts with a conductor that you already configured and are running, which you can totally do without tryorama, by just using hc-web-client to connect to a conductor and call zome functions and such. It would be missing await s.consistency()
, but I think that's about it. If you wanted that functionality too, I think it wouldn't be too hard to pull in hachiko separately to do the consistency awaiting.
Basically tryorama's main purpose is to do exactly the stuff you don't need in this scenario.
Would that accomplish what you want?
from tryorama.
yeah i dont really want to re-create what i am doing in tryorama.. in some other javascript file.. (command line).. . i think this might be possible with TryCP somehow.
from tryorama.
Maybe so, but TryCP is just about spawning and killing conductors on machines other than the one you're running the test on. Not so much about connecting to long-lived conductors
What you're doing sounds a lot more like automated UI interactions via a script than something that a testing framework would handle. I hear you about wanting to be able to use the same syntax in tryorama for this though. That would require pulling out the Player interface and using it in a script. It shouldn't be too hard, and would be a pretty useful thing if you wanted to take a stab at it. I could help with advice, but otherwise don't have the bandwidth to make that happen right now.
from tryorama.
@nphias This looks fairly stale - is this still a request?
from tryorama.
mmm. yeah i think that request was around the need to do bulk operations (dna migration etc.) via the command line and not the websocket.. but its not something i need now and probably not so related to tryorama
from tryorama.
@nphias Right, if it's a command line action, you can formulate the request in the holochain repository. Once it becomes something you need =)
from tryorama.
Related Issues (20)
- Signals blocks rest of call execution for a conductor that has been `shutdown` and then `startup` HOT 2
- Large hApp installations fail due to timeout HOT 6
- err catching is too aggressive. holochain sometimes has non-fatal errors that are logged to stderr, such as lair-keystore HOT 22
- processes seem to be spawned and not killed
- @holochain/client should be updated
- unless making this `.on` instead of `.once` all the conductor logs are swallowed here HOT 7
- the logging situation HOT 6
- there is a need to be able to use the `timeout` property on callZome
- tryorama is not equipped for `network_seed` instead of `uid` HOT 2
- Tryorama not using up-to-date nor pinned @holochain/client HOT 2
- console logging not clear HOT 6
- executing command runs indefinitely HOT 4
- Feature Request: function that waits until all agents have identical dht state HOT 2
- Change API for awaitDhtSync HOT 5
- signals broken for 0.2x HOT 3
- incomprehensible error.. wbindgen HOT 4
- [TryCP Server] Reuse admin websocket instead of connecting/disconnecting on every call
- Tryorama tests fail because of connection errors even after all tests succeeded HOT 8
- Error when calling `appWs.callZome({ role_name: '', ... })` HOT 2
- dhtSync fails with TypeError HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tryorama.