Add unit tests for the degree parser

Open Beginner friendly
#195 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
go
Domain
testing

Research direction

Find the degree parser's source file and inspect the other parser _test.go files to follow the current unit-test structure. Use Go's built-in testing library and add coverage for the degree parser; done means the new tests run successfully with the repository's existing test commands.

Written by the indexing model from the issue text.

Description

L2 Type: Internal

Overview

Add unit tests for the degree parser using Go's built-in testing library.

Make sure to follow the current structure of the unit-tests, which means having a file _test.go associated with the file of the main code.

Take a look at the other parser unit tests if you're unsure on how to write these tests.

Resources

https://pkg.go.dev/testing

Dominant language
Go
Stars
11
Forks
54
Avg merge
2d 14h
Merged PRs (30d)
2

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.

More from UTDNebula/api-tools

All issues in UTDNebula/api-tools

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.