sheikhrachel / Spelunker

Automated file parsing and mock test generation with multi-language support across several libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spelunker

Spelunker is a tool that will parse through your codebase and automatically generate mocks in a test folder

alt text

Features

  • Autogenerates a 'test' folder if one does not exist

  • Skips over functions that have 'spelunker_skip' above the definition

  • Generates individual mock files with corresponding test methods (currently only supporting the requests library)

alt text alt text

Prerequisites

Ensure you are running a Python version >= 3.6

$ python3 --version # returns 'Python 3.7.7' or a version >= 'Python 3.6'

Usage

Run in terminal from the file (I will eventually publish this project up to pip for install/run directly)

$ python3 [PATH TO SPELUNKER DIR]/src/Spelunker.py

Contact Info

self.name = 'Rachel Sheikh'
self.email = 'sheikhrachel97@gmail.com'
self.site = 'https://rachel-sheikh.com'

About

Automated file parsing and mock test generation with multi-language support across several libraries


Languages

Language:Python 100.0%