Skip to content

Add cli support for creating tests #3

@Squishy123

Description

@Squishy123

Add cli support for creating tests

The following should be implemented:

CLI Support for make

ronin make:test %NAME%

The test file should contain test in it's name:

e.g. helloworld.test.js

All tests should be located in the tests directory at the root of the repo

/tests/*

The test template should looking something like this:

async function %TEST%() {
    return;
}

tests("TEST 1", () => {
    return %TEST%().then(data => {
        expect(data).toBeNull()
    });
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions