Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Test-Driven Code Search and Reuse Coming to Python with Pytest-Nodev

EuroPython Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore test-driven code search and reuse in Python using pytest-nodev in this 37-minute EuroPython Conference talk. Learn about the test-driven reuse (TDR) development strategy, an extension of test-driven development (TDD), and its implementation with pytest-nodev, an open-source test-driven search engine for Python code. Discover how TDR addresses the limitations of keyword-based searches by focusing on code behavior and semantics. Follow along as the speaker demonstrates the process of writing specification tests, running them against available functions and classes, and identifying candidate implementations for desired features. Gain insights into practical applications of TDR through various examples, from simple to complex scenarios. Delve into topics such as base implementation, search techniques, test writing, parameterized arguments, comment handling, and search refinement. Enhance your Python development skills by leveraging this innovative approach to code reuse and efficient feature implementation.

Syllabus

Intro
Base implementation
Search
Running tests
Writing a specification test
First test
Second test
Parametrized arguments
No comments
Ignore comments
Refine search
Testdriven
Testdriven code search
On the web
Questions
Parametrize

Taught by

EuroPython Conference

Reviews

Start your review of Test-Driven Code Search and Reuse Coming to Python with Pytest-Nodev

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.