Karate: Test Automation Made Simple
github.com
Karate: Test Automation Made Simple
1–10 of 20 posts
Re: Karate: Test Automation Made Simple
#2I kinda liked the premise, but take “simple” with a truck load of salt.
Re: Karate: Test Automation Made Simple
#3Re: Karate: Test Automation Made Simple
#4“Made simple”. Well...I tried it and it’s by far the most complex, sprawling, cluttered, “everything under the sun” testing framework I’ve ever encountered. I kinda liked the premise, but take “simple” with a truck load of salt.
My first thought when I entered the page ;-)
Re: Karate: Test Automation Made Simple
#5Re: Karate: Test Automation Made Simple
#6(I've had good experiences with QuickCheck for Haskell, Hypothesis for Python, ScalaCheck for Scala, JSVerify for Javascript)
Re: Karate: Test Automation Made Simple
#7Re: Karate: Test Automation Made Simple
#8I feel like this would be the way to go to minimize non-valuable testing while allowing you to discover code thats becoming more leveraged and therefore more critical to test.
Re: Karate: Test Automation Made Simple
#9given that some test people might be reading these comments - is anyone aware of a configuration for test frameworks that: 1. lets users opt code out of the testing footprint (I know this is a given), but also 2. monitors opted-out code for being called a certain number of times, therefore meaning it's depended upon, therefore meaning it SHOULD be tested, and gets flagged? I feel like this would be the way to go to m…
2. This feels like the job of a code coverage tool to me (and it's something I would like as well), but most coverage tools I've seen don't quite have the granularity you're looking for. In certain ecosystems you could hack something together pretty quickly (e.g. the `trace` module in python).
Correct me if I'm wrong, but this idea sounds like you'd like to bias your tests away from small units and toward integration tests (and a similar tool could be useful for dead code elimination and a few other tasks). I know they're not a panacea in general, but in your personal experience what problems have you found in fine-grained tests that outweigh their benefits?
Re: Karate: Test Automation Made Simple
#10given that some test people might be reading these comments - is anyone aware of a configuration for test frameworks that: 1. lets users opt code out of the testing footprint (I know this is a given), but also 2. monitors opted-out code for being called a certain number of times, therefore meaning it's depended upon, therefore meaning it SHOULD be tested, and gets flagged? I feel like this would be the way to go to m…
1. In any testing framework I've used, this is (as you said) a given. The exact mechanism you have for slicing and dicing your tests varies, but this is usually well supported IMO. 2. This feels like the job of a code coverage tool to me (and it's something I would like as well), but most coverage tools I've seen don't quite have the granularity you're looking for. In certain ecosystems you could hack something toget…