[go-nuts] ANN: Basic test impact analysis (benchmark shows avg 29% reduction in test execution time atm)

2024-09-12 Thread 'Markus Zimmermann' via golang-nuts
[image: with-go-test-with-test-runner.png] We implemented a basic test impact analysis that identifies and then executes affected tests for a change, e.g. for a range of commits. Our benchmark for the repositories we looked at shows an average 29% reduction in test execution time. I am very mu

[go-nuts] Re: Improving on unit test styles

2022-02-28 Thread 'Markus Zimmermann' via golang-nuts
First change for github.com/stretchr/testify has been pushed as a PR https://github.com/stretchr/testify/pull/1161: "Include locations of subtests in test failure stack traces". Please give your emoji-support if you agree that this is a good behavior change. More open source changes are coming.

[go-nuts] Improving on unit test styles

2022-02-25 Thread 'Markus Zimmermann' via golang-nuts
Hi Gophers! We were unhappy with the common unit test styles and we think we found a style that has clear advantages. An in-depth comparison can be found here https://symflower.com/en/company/blog/2022/better-table-driven-testing. We also added support for maintaining such tests in our VS Code