News for hackers. Stuff that matters.
Re:Software 2.0 by modriano on Tuesday February 21, 2023 @01:38PM (#34884933)
I guess I should start researching the testing framework ecosystem. Frameworks that make it easy and low-friction to represent desired behavior and identify+test edge cases will be key to using copilot/AI-code-tools effectively.

So, what are best testing frameworks people have worked with?

Re:Software 2.0 by unki2aut on Wednesday February 22, 2023 @04:45AM (#34893568)
To me "property based testing" would come to mind, where you would define properties of the input and output of a method and the library runs random test cases for you. The most prominent implementation would be QuickCheck[0], which is written in Haskell, but there are re-implementations of it in almost every language.

[0] https://en.wikipedia.org/wiki/QuickCheck