/the_smallest_rest_api_testing_framework

The Smallest REST API testing framework in just 16 lines of code (#code16challenge)

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

The smallest REST API testing framework

Picture of toy excavator with additional logo on the flow

The Smallest REST API testing framework in 16 lines of code (#code16challenge)

Full description and road to achieve it is described in those 2 articles (writen in Polish):

Branches with most interesting versions of the framework:

  • first article - 15 lines of code with limited functionality
  • only 6 lines of code - same functionality as in first article, but in a limited lines of a code
  • more functionality - code with extended testing abilities but still in 16 lines of code
  • PEP-8 valid - version that is valid with PEP-8 style coding guide, functionality is somewhere in between versions with 6 lines of code and more functionality but still in 16 lines of c