All Projects → ysmood → got

ysmood / got

Licence: MIT license
An enjoyable golang test framework.

Programming Languages

go
31211 projects - #10 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to got

jpopup
Simple lightweight (<2kB) javascript popup modal plugin
Stars: ✭ 27 (-88.46%)
Mutual labels:  lightweight, dependency-free
unittest expander
A library that provides flexible and easy-to-use tools to parameterize Python unit tests, especially those based on unittest.TestCase.
Stars: ✭ 12 (-94.87%)
Mutual labels:  unit-testing, test
Tablier
A micro-framework for Table Driven Tests.
Stars: ✭ 33 (-85.9%)
Mutual labels:  unit-testing, test
ttdo
Extend tinytest with diffobj
Stars: ✭ 21 (-91.03%)
Mutual labels:  unit-testing, diff
goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Stars: ✭ 3,019 (+1190.17%)
Mutual labels:  unit-testing, test
chai-exclude
Exclude keys to compare from a deep equal operation with chai expect or assert.
Stars: ✭ 33 (-85.9%)
Mutual labels:  unit-testing, assert
Caraya
Assertion and unit test framework for LabVIEW
Stars: ✭ 45 (-80.77%)
Mutual labels:  unit-testing, test
Glide
A dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more
Stars: ✭ 6,256 (+2573.5%)
Mutual labels:  lightweight, dependency-free
lwlog
A lightweight header only logging library for C
Stars: ✭ 46 (-80.34%)
Mutual labels:  lightweight, log
assert
Go 语言 assert 断言函数
Stars: ✭ 17 (-92.74%)
Mutual labels:  test, assert
git-tui
Collection of human friendly terminal interface for git.
Stars: ✭ 95 (-59.4%)
Mutual labels:  diff, log
logunit
A Java library for unit-testing logging.
Stars: ✭ 40 (-82.91%)
Mutual labels:  unit-testing, test
Easylogger
An ultra-lightweight(ROM<1.6K, RAM<0.3k), high-performance C/C++ log library. | 一款超轻量级(ROM<1.6K, RAM<0.3k)、高性能的 C/C++ 日志库
Stars: ✭ 1,968 (+741.03%)
Mutual labels:  lightweight, log
testza
Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! 🍕
Stars: ✭ 409 (+74.79%)
Mutual labels:  unit-testing, test
Broken
Lightweight Unit Testing for C++
Stars: ✭ 8 (-96.58%)
Mutual labels:  lightweight, unit-testing
pytest
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
Stars: ✭ 9,731 (+4058.55%)
Mutual labels:  unit-testing, test
Androidunittest
Save time & clear your unit tests on Android !
Stars: ✭ 205 (-12.39%)
Mutual labels:  unit-testing, test
Alsatian
TypeScript testing framework with test cases
Stars: ✭ 244 (+4.27%)
Mutual labels:  unit-testing, test
eat
Json based scenario testing tool(which can have test for functional and non-functional)
Stars: ✭ 41 (-82.48%)
Mutual labels:  unit-testing, test
tead
Lighting the way to simpler testing
Stars: ✭ 55 (-76.5%)
Mutual labels:  unit-testing, test

Overview

An enjoyable golang test framework.

Features

  • Pretty output using gop and diff
  • Fluent API design that takes the full advantage of IDE
  • Handy assertion helpers
  • Handy utils for testing
  • Customizable assertion error output
  • No dependency, and 100% test coverage

Guides

Read the example project to get started.

Got uses itself as the test framework, so the source code itself is the best doc.

Install the vscode extension for snippets like: gp, gt, and gsetup.

To ensure test coverage of your project, you can run the command below:

go test -race -coverprofile=coverage.out ./...
go run github.com/ysmood/got/cmd/check-cov@latest

By default the check-cov requires 100% coverage, run it with the -h flag to see the help doc.

API reference

Link

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].