The future of software development is around the corner! AI-Driven Development (AIDD) has the potential to change the game, introducing a new level of collaboration between you as a developer and artificial intelligence (AI) systems.
AI-Driven Development follows the 'red, green, refactor' cycle, similar to Test-Driven Development (TDD), where you write tests before the implementation code. However, unlike TDD where you are solely responsible for creating both unit tests and implementation code, AIDD introduces a new approach, based on deep AI teamwork.
This video is a simple example for beginners of how this approach works in practice.
The 8 steps of AIDD:
1: Set the goal
2: Formulate the abstract type
3: Construct mock functionality
4: Write tests
5: Run tests and expect failure
6: Create concrete implementation
7: Run tests and expect success
8: Refactor
———
Link to my article for which this video is made: dev.to/dawiddahl/ai-is-changing-the-way-we-code-ai…
———
TS/Jest CodeSandbox template: codesandbox.io/s/template-ts-jest-qb63h
コメント