8000 [tests] Idea: Use a runtime test library for tests · Issue #100 · flow-typed/flow-typed · GitHub
[go: up one dir, main page]

Skip to content
[tests] Idea: Use a runtime test library for tests #100
@jeffmo

Description

@jeffmo

@alexeygolev showed an interesting way of writing tests for the ramda libdef over in this pull request: #95

Basically the idea is that we could have the test runner (a) typecheck the test code (contains type asserts just like we have today) and then (b) actually run the tests (using the actual npm library) to make sure they pass.

This could help bridge the uncertainty gap between a libdef and it's actual implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to CLI toolenhancementAn addition to an existing component

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0