Giter VIP home page Giter VIP logo

Comments (6)

maackle avatar maackle commented on July 28, 2024

@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.

nphias avatar nphias commented on July 28, 2024

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.

maackle avatar maackle commented on July 28, 2024

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.

jost-s avatar jost-s commented on July 28, 2024

@nphias This looks fairly stale - is this still a request?

from tryorama.

nphias avatar nphias commented on July 28, 2024

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.

jost-s avatar jost-s commented on July 28, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.