CFC-Servers / CFC-Servers/gmod_tests

Getting started

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted
Dominant language
Lua
Stars
13
Forks
6
PR merge metrics
No merged PRs in 30d

Description

This is a list of tests that will be pretty easy to get started with, even if you're new to GLuaTest _(or even unit testing as a whole!)_

If you are still new to testing, please consider reading through GLuaTest's [Guided Testing Walkthrough]()

And if you decide to tackle one of these, please keep two things in mind:
1. Feel free to reach out! Message me directly on Discord, or join our [Dev Support](https://discord.gg/5JUqZjzmYJ) Discord Server
2. GLuaTest has a [rigorous set of documentation](https://github.com/CFC-Servers/GLuaTest?tab=readme-ov-file#writing-tests-%EF%B8%8F) - be sure to give it a skim!

Additionally, please be sure to read through the [Contributing](https://github.com/CFC-Servers/gmod_tests?tab=readme-ov-file#contributing) instructions in the README

### Globals _(Single functions)_
- [ ] [`Global.AccessorFunc`]()
- [x] [`Global.isangle`]()
- [ ] [`Global.isbool`]()
- [ ] [`Global.IsEnemyEntityName`]()
- [ ] [`Global.IsEntity`]()
- [ ] [`Global.IsFriendEntityName`]()
- [ ] [`Global.isfunction`]()
- [ ] [`Global.ismatrix`]()
- [ ] [`Global.isnumber`]()
- [ ] [`Global.isstring`]()
- [ ] [`Global.istable`]()
- [ ] [`Global.IsTableOfEntitiesValid`]()
- [ ] [`Global.IsUselessModel`]()
- [x] [`Global.isvector`]()
- [ ] [`Global.select`]()
- [ ] [`Global.SQLStr`]()
- [ ] [`Global.tobool`]()
- [ ] [`Global.tonumber`]()
- [ ] [`Global.tostring`]()
- [ ] [`Global.type`]()
- [ ] [`Global.TypeID`]()
- [ ] [`Global.unpack`]()
- [x] [`Global.Vector`]()
- [x] [`Global.VectorRand`]()

### Libraries _(Collections of many functions)_
- [ ] [`bit`]()
- [ ] [`gmod`]()
- [ ] [`os`]()
- [ ] [`string`]()
- [ ] [`table`]()
- [ ] [`utf8`]()

### Classes _(Collections of functions that get called on objects)_
- [ ] [`VMatrix`]()
- [x] [`Stack`]()

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked GLuaTest writing-tests documentation and the repository's Contributing instructions. Choose one unchecked global, library, or class entry from the checklist, then add its test and verify the corresponding checklist item can be marked complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
testing-qa
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.