testplane
testplane copied to clipboard
Running into issues with Programmatic API
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.readTestsand 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.jsfile as I'm trying to set this up with BrowserStackLocal but it isn't required to re-create the issue
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!