jalasem / jalasem/templatestringparser

Add test suite for code

Open
#5 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue help wanted
Dominant language
JavaScript
Stars
12
Forks
3
PR merge metrics
No merged PRs in 30d

Description

# Problem

The code don't have a test suite:
https://github.com/jalasem/templatestringparser/blob/29fec424a86ee72110c7f98629989b15df8e9251/package.json#L7

This make the code feeble and prone to errors.

# Proposal

**Add a set of test to make sure the code do what is supposed to do**. A suggestion is [MochaJS](https://mochajs.org/) but maybe there are better options.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with package.json at line 7 to understand the current package setup, then review the code's template-string processing behavior and evaluate MochaJS as a test framework. Define coverage for the intended behavior and make sure the completed suite can be run through the package configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.