8000 Unit tests for user prompt in `fb_make_report()` · Issue #141 · FRBCesab/funbiogeo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Unit tests for user prompt in fb_make_report() #141
Open
@Rekyt

Description

@Rekyt

In my quest to improve our global test coverage, I was thinking about how to test for the prompt in fb_make_report().

We can by using a connection object and replacing the readline() function by readLines() as detailed in this blog post: https://debruine.github.io/post/interactive-test/

I think it's worth it ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0