Skip to content

make writing tests easier #98

@nick1udwig

Description

@nick1udwig

Writing tests is not easy, currently. There is the https://github.com/kinode-dao/core_tests repo, which can be used as an example, but it is more made for function than example. There is a lot of boilerplate.

This has led to an easier testing method for simple tests: just write in-Kinode script(s) that do whatever thing and output the result.

This is fine, but indicates that there is room to make run-tests easier to use OR provide some other tool(s) to make this lightweight testing easier.

One possibility is a lighter-weight framework/tool.

Another possibility is to make use of our template system in kit new to provide templates for tests -- this gets rid of a lot of the problem wrt boilerplate, since you can just get the template and modify it for your needs.

h/t @jaxs-ribs

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