Live data from Hacker News

Launch HN: Karate Labs (YC W22) – Open-Source API and UI Test Automation

news.ycombinator.com

11–20 of 37 posts

Re: Launch HN: Karate Labs (YC W22) – Open-Source API and UI Test Automation

#12
How might one compare and contrast this solution with tools like Storybook paired with Chromatic? This looks fantastic and I love seeing innovation in this space; UI testing is challenging for teams who lean on these tools so they can focus on building great user experiences.

Re: Launch HN: Karate Labs (YC W22) – Open-Source API and UI Test Automation

#13

A simple UX note for your site. Make your background of some part of your site dark, because when I load a page I see nothing for awhile until the background image loads because it's white text on white background.

Thank you for the feedback. Much appreciated. Noted. We are redesigning our website and will certainly take this into account.

Re: Launch HN: Karate Labs (YC W22) – Open-Source API and UI Test Automation

#14

How might one compare and contrast this solution with tools like Storybook paired with Chromatic? This looks fantastic and I love seeing innovation in this space; UI testing is challenging for teams who lean on these tools so they can focus on building great user experiences.

To be honest my experience with Storybook is limited, and I see it more specialized for design-system consistency and review. Karate is a generic browser automation framework, which can do cross-browser testing. With some tweaks it could possibly complement Storybook, for instance, here is an example of an accessibility test-report: https://twitter.com/getkarate/status/1338892932691070976

Thanks for the pointer, we will certainly explore the possibilities here!

Re: Launch HN: Karate Labs (YC W22) – Open-Source API and UI Test Automation

#15
post #9

very nice, how much?

Launch HNs and job ads are 2 of the 3 things that HN gives back to YC in exchange for funding it (the third one is orange usernames for YC alums). This is explained in the FAQ: https://news.ycombinator.com/newsfaq.html#yc . I've also posted about it many times, as you can see from links like https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... .

> HN gives back to YC in exchange for funding it...

I'd not mind if news.yc is spun off as a non profit, relying on funds from the community it serves (only if that was a given...)

Re: Launch HN: Karate Labs (YC W22) – Open-Source API and UI Test Automation

#16
post #9

Earlier quoted context omitted.

Launch HNs and job ads are 2 of the 3 things that HN gives back to YC in exchange for funding it (the third one is orange usernames for YC alums). This is explained in the FAQ: https://news.ycombinator.com/newsfaq.html#yc . I've also posted about it many times, as you can see from links like https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... .

> HN gives back to YC in exchange for funding it... I'd not mind if news.yc is spun off as a non profit, relying on funds from the community it serves (only if that was a given...)

I'm pretty sure that wouldn't work. HN is the product of a rare set of initial conditions, and the funding aspect is a critical aspect of that. The symbiosis, if you like, between HN and YC is part of the DNA of both entities. No doubt it has some downsides (such as job ads on the front page), but I'd say the downsides are small enough that it wouldn't be worth the risk to try to minimize them further. Of course that's just my opinion.

I've written about this intermittently and most of those comments can be found amongst https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so..., if anyone wants more.

Re: Launch HN: Karate Labs (YC W22) – Open-Source API and UI Test Automation

#17

How does it compare to Postman or Stoplight for testing your APIs?

Postman is a "UI driven" tool, it is great for exploratory testing of APIs and sharing the knowledge on how you call an API (e.g. collections) with others. But Karate tests are scripts that can be checked into version-control just like any other code in your team. Karate allows you to write hybrid tests, which means you can switch between API calls and UI actions within the same test script. You can also re-use API t…

can't you use Newman to set up unattended tests?

Re: Launch HN: Karate Labs (YC W22) – Open-Source API and UI Test Automation

#18
This is something we need very desperately right now - DESPERATELY.

And despite that, this was the feedback from some of my colleagues (referring to this: https://github.com/karatelabs/karate/raw/master/karate-demo/...) :

"I not like syntax but docs looks like good_)"

"I also don't like the syntax. In the past, Ive ended up writing a lot of code that amounts to syntax configuration without a ton of benefit. Arguably, it's so that non-developers can read the tests, but in practice they still don't."

Most of our complexity comes from having to test against two independent systems - deployed smart contracts and a database. Anyway, let us see if they try it out.

Re: Launch HN: Karate Labs (YC W22) – Open-Source API and UI Test Automation

#19
> even non-programmers can write tests

I'm curious if this has never actually happened? In my experience definitely not. I'm trying to think of even what kind of job role/skillset would have the knowledge and ability to write this bespoke syntax but not have any ability to do some basic script programming.

Re: Launch HN: Karate Labs (YC W22) – Open-Source API and UI Test Automation

#20

This is something we need very desperately right now - DESPERATELY. And despite that, this was the feedback from some of my colleagues (referring to this: https://github.com/karatelabs/karate/raw/master/karate-demo/... ) : "I not like syntax but docs looks like good_)" "I also don't like the syntax. In the past, Ive ended up writing a lot of code that amounts to syntax configuration without a ton of benefit. Arguably…

I agree the syntax takes some getting used to. Do pass on to the team that there is an IntelliJ plugin and a VS Code plugin. You can easily call a database or any external system using Java interop: https://stackoverflow.com/a/52714248/143475
Post reply on HN