The aim of the bachelor thesis is to design and implement an interactive web environment for teaching of selected agile programming methods. The resulting web environment is a web application, which may be used for acquaintance with theoretical side of agile programming methods, and also for trying out these methods in a form of courses with getting feedback instantly. Application provides creating and solving practical tasks on test-driven development, on refactoring and working with legacy code. The web application provides solving the exercises within the development environment, the generated code along with the tests is run in the virtual environment on the server, and the tests results are presented to the user. The application includes tools for managing the course items and source code version control. Keywords: web application, test-driven development, unit-testing, legacy code, clean code, refactoring, educational software.