https://github.com/zaquestion/gosetests
https://github.com/zaquestion/gosetests
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zaquestion/gosetests
- Owner: zaquestion
- Created: 2018-01-01T23:25:36.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-03T03:20:54.000Z (over 7 years ago)
- Last Synced: 2025-01-30T10:41:46.562Z (12 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
gosetests
==
*Not yet usable*
`gosetests` is a tool for iteratively converting blackbox [nose](https://nose.readthedocs.io/en/latest/) style tests (python) into GoLang tests. It will be used to convert a 300+ integration test suite. As such it relies on your tests having no knowledge of the code its testing. For instances, the tests this tool is being built against send http requests and assert on the responses / side effects.
## The Idea
- build out a system for converting python primitives (variables, definitions, etc) into golang equivalents
- Create a configuration scheme for mapping a piece of python code to GoLang code
- This is really the key to the system working, I imagine if this projects go far enough that a configuration file would continue to grow over time with python -> GoLang conversions and could start to be more broadly applied.
- handle mapping function calls, unhandled function calls would be stubbed out in code and configuration updated to call said stub. Then you would manually write the function
- ideal: handle mapping python patterns into GoLang patterns