-
Notifications
You must be signed in to change notification settings - Fork 4
Description
I have always hated the difficulty of browser testing vs. the (theoretically) simple, clean IO of CLI testing.
Over the years, I’ve tried getting into things like WebDriver (and many others), but I always had an issue with either:
- too much work to get started; OR
- the initial setup was okay, but it became difficult trying to write tests for the browser
This promise of this project looks like it would solve both of these issues. I love it!
…But I’m having trouble getting started again.
I have a strong sense that hTest can do what I want without a lot of work, but it’s not quite clear to me what work that is.
I suppose this gets to the stated point on the homepage:
Improve documentation — this is top priority, people keep asking for things that are already possible because they’re not documented well!
The HTML-first side where I’m scratching my head. I want to test a very simple, dumb web component that I wrote for a personal project, and I think that means it must be an HTML-first test because of the DOM.
But no matter how often I read the docs for HTML-first tests, I cannot think of how to write the setup code or tests for a custom web component.
If someone could get me started successfully on this, I’d be glad to write a short tutorial for the docs. 🙏🏽