Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamline the gen_* API #150

Open
fikovnik opened this issue Jun 1, 2018 · 0 comments
Open

Streamline the gen_* API #150

fikovnik opened this issue Jun 1, 2018 · 0 comments
Milestone

Comments

@fikovnik
Copy link
Member

fikovnik commented Jun 1, 2018

  • gen_from_package(path, types, filter, functions_exclude, ...)

    • path - path to package source - it will install the package into some temp folder if is not installed already
    • function_exclude - a list of function names to exclude from the package
  • gen_from_sources(path, files, functions_exclude, ...)

    • files - files to run
  • gen_from_code(path, code, functions_exclude, ...)

    • code - code to run
  • gen_from_code(path, fun, functions_exclude, ...)

    • fun - fun to run
  • trace_package(functions, files, lib_paths, keep_traces, generate_tests, prune_tests, ...)

    • functions - fqfn to trace
    • keep_traces - "none" or "failed" or "all"
    • generate_tests - true / false
    • prune_tests - true / false
    • files - files to run
gen_from_package(".", types="all")
@fikovnik fikovnik added this to the 0.2.0 milestone Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant