testplane icon indicating copy to clipboard operation
testplane copied to clipboard

Running into issues with Programmatic API

Open kevindcode opened this issue 3 years ago • 1 comments

Summary

  • I've been following the documentation on running Hermione programatically here, but I'm encountering problems and not sure if I'm missing something fundamental and/or just misunderstanding the setup 🤔
  • The line of code which is failing is when I try to run .init; the error that I'm getting back is that it doesn't find this method. I've also tried invoking .readTests and also getting the same problem.
  • You can see the code I've written here:
    • https://github.com/kevindcode/hermione-test

Considerations

  • I have left some fields as empty strings in the hermione.conf.js file as I'm trying to set this up with BrowserStackLocal but it isn't required to re-create the issue

kevindcode avatar Dec 29 '21 12:12 kevindcode

Ah, I've just found this other issue:

  • https://github.com/gemini-testing/hermione/issues/453

If the docs are incorrect, can you guys point me in the right direction on what method to use? Or whether we can still use Hermione programatically?

Thank you!

kevindcode avatar Dec 29 '21 12:12 kevindcode