Quiz on TDD with Flask

Test your grasp on test-driven development with Flask and pytest.

1

What is a route in Flask?

A)

A path to a static file in the project directory.

B)

A function that maps a URL to a specific function in the code.

C)

A decorator used to define URL patterns.

D)

A file that contains HTML templates.

Question 1 of 50 attempted

Get hands-on with 1400+ tech skills courses.