Главная
Study mode:
on
1
Intro
2
Base implementation
3
Search
4
Running tests
5
Writing a specification test
6
First test
7
Second test
8
Parametrized arguments
9
No comments
10
Ignore comments
11
Refine search
12
Testdriven
13
Testdriven code search
14
On the web
15
Questions
16
Parametrize
Description:
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. Read more

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

EuroPython Conference
Add to list