Coder Social home page Coder Social logo

rocshers_test_assignment's Introduction

main Lines of code

Тестовое задание

Вакансия: Python developer в команду https://www.linkedin.com/in/rocshers/

Заданию было уделено 3 часа. Покрытие кода тестами 100%

Стек

Python, poetry, pytest, coverage.

Использование

  1. Склонируйте данный репозиторий на свою локальную машину
  2. Убедитесь, что у вас установлен пакет Poetry
  3. Установите зависимости командой:
poetry install
  1. Для запуска скрипта используйте команду:
poetry run main

либо

poetry run python src/runner.py 
  1. Откроется поле для ввода ссылок, вводите ссылки по одной через Enter. По окончанию ввода всех ссылок нажмите Enter. При вводе неверной ссылки появится уведомление.
  2. Результатом работы программы будет вывод вида:

Results

  1. Для запуска тестов используйте:
pytest
  1. Для проверки покрытия кода тестами:
pytest --cov

coverage

rocshers_test_assignment's People

Contributors

swankyalex avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.