News for hackers. Stuff that matters.
Re:Verified Spec-Driven Development (VSDD) by esperent on Sunday March 01, 2026 @12:53AM (#47204090)
Modern testing frameworks already use BDD (behavior driven development , which simply means writing tests in natural language. BDD is a superset of TDD:

    import { describe, it, expect } from 'vitest';

    describe('User Authentication', () => {
      it('should allow login with valid credentials', () => {
        const result = login('[email protected]', 'password123');
          expect(result.isAuthenticated).toBe(true);
  });

This is BDD and every testing framework I've used in my entire career and 95% of the tests I've written look something like that.

There are no comments on this comment yet.