Software Testing Practices

Discussions focus on software testing tools and methodologies, including AI-assisted test generation with Copilot, BDD frameworks like Cucumber and RSpec, and debates on manual vs automated testing across languages like Ruby, Python, and JavaScript.

➡️ Stable 0.6x Programming Languages
3,035
Comments
20
Years Active
5
Top Authors
#1668
Topic ID

Activity Over Time

2007
5
2008
28
2009
45
2010
127
2011
132
2012
145
2013
205
2014
167
2015
154
2016
162
2017
198
2018
109
2019
123
2020
193
2021
172
2022
240
2023
326
2024
194
2025
285
2026
25

Keywords

LOT JS to.be IDE chai.js lettuce.it should.be Testing.html jamesshore.com FUT tests testing test write tests writing ruby write js assert py

Sample Comments

rmanolis • Dec 2, 2024 • View on HN

it has tests, and better than TDD

serpix • Mar 17, 2023 • View on HN

co-pilot excels in writing tests. It removes so much of the tedium and boilerplate. It seems to understand fixtures once you define one and understands subsequent changes to the boilerplate such as changing usernames, ids, appending items to lists. It is such a massive boost in productivity that those using it are way ahead of those who resist.

latchkey • Jul 30, 2025 • View on HN

I'm curious why you prefer this over writing tests.

seivan • Apr 14, 2015 • View on HN

I remember Gherkin (Cucumber for Ruby) had this! It does beat having a ton of assertions.

DarkNova6 • Jan 7, 2025 • View on HN

Not to be too critical but coming from Java/C# I‘m not not so hot they are writing their own tests: https://github.com/unexpectedjs/unchecked/blob/master/test/i...Maybe just a matter of familiarity?

goblin89 • Apr 23, 2012 • View on HN

I haven't, thanks for pointing out. Seems like a closely related concept, although appears to be used mostly in security testing context. Also, at least for Python most tools are a bit too complex—I imagined something more like a TestCase subclass (not even a test runner) that augments certain assert methods and possibly provides new ones. Anyway, on a second thought, adopting TDD looks like a better solution.

sry_not4sale • Jul 22, 2015 • View on HN

Have you looked into BDD tools like Behat/Behave/Cucumber ?

maccard • Aug 4, 2023 • View on HN

This is awesome. Somewhat echoing the other feedback here, I'm a little concerned about the "self test" side of things, and would much rather sweep wrote tests. Given my experience with ChatGPT and copilot though, I feel reassured that it would write tests for me. If it wrote tests by default (or used a heuristic on when to write tests), I would find it impossible to not use this I think.Great job.

yuvalsteuer • Oct 10, 2022 • View on HN

Love it!> "never have to write and maintain your tests again!"this feels a bit misleading though.What are you doing step ci? :D

moonlessday • Aug 16, 2024 • View on HN

what would you recommend to read to be better at writing tests?