All Projects → inaka → katana-test

inaka / katana-test

Licence: Apache-2.0 License
Meta Testing Utilities for common_test

Programming Languages

erlang
1774 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to katana-test

zent-kit
[DEPRACATED] React 组件库开发脚手架
Stars: ✭ 28 (-9.68%)
Mutual labels:  test
kotest-gradle-plugin
A gradle plugin for Kotest
Stars: ✭ 18 (-41.94%)
Mutual labels:  test
stub-server
Stub server for REST APIs
Stars: ✭ 14 (-54.84%)
Mutual labels:  test
mongo-mysql
Mongo vs Mysql Test Performance in Nodejs
Stars: ✭ 87 (+180.65%)
Mutual labels:  test
elm-html-test
Test elm-html in Elm!
Stars: ✭ 68 (+119.35%)
Mutual labels:  test
level-test
Inject temporary and isolated level stores (leveldown, level-js, memdown or custom) into your tests.
Stars: ✭ 19 (-38.71%)
Mutual labels:  test
brutal
A code-first approach to automate the writing of unit tests.
Stars: ✭ 54 (+74.19%)
Mutual labels:  test
GitHubApplication
GitHubApplication 📱 is an Android application built to demonstrate the use of modern Android development tools - (Kotlin, Coroutines, Hilt, LiveData, View binding, Data Store, Architecture components, MVVM, Room, Retrofit, Navigation).
Stars: ✭ 11 (-64.52%)
Mutual labels:  test
jest-launchdarkly-mock
Easily unit test LaunchDarkly feature flagged components with jest
Stars: ✭ 14 (-54.84%)
Mutual labels:  test
gmock-xcode
Xcode integration for GoogleMock through XCTest
Stars: ✭ 18 (-41.94%)
Mutual labels:  test
nala
🦁 Nala - A delightful test framework for C projects.
Stars: ✭ 58 (+87.1%)
Mutual labels:  test
Example
Example collections of PocoAndroid, Unity3d demo game and etc...
Stars: ✭ 17 (-45.16%)
Mutual labels:  test
skywalking-infra-e2e
Apache SkyWalking Infra E2E
Stars: ✭ 30 (-3.23%)
Mutual labels:  test
teuton
Infrastructure test, mainly useful for sysadmin teachers and making contests
Stars: ✭ 22 (-29.03%)
Mutual labels:  test
HTTP-Connectivity-Tester
Aids in discovering HTTP and HTTPS connectivity issues. #nsacyber
Stars: ✭ 79 (+154.84%)
Mutual labels:  test
ngx-zombie-compiler
Fast JiT compiler for Angular testing
Stars: ✭ 15 (-51.61%)
Mutual labels:  test
travis-minikube
Run minikube on Travis CI
Stars: ✭ 89 (+187.1%)
Mutual labels:  test
react-native-ffmpeg-test
Test applications for react-native-ffmpeg. Not maintained anymore. Superseded by FFmpegKitTest.
Stars: ✭ 22 (-29.03%)
Mutual labels:  test
peeky
A fast and fun test runner for Vite & Node 🐈️ Powered by Vite ⚡️
Stars: ✭ 611 (+1870.97%)
Mutual labels:  test
RSS-Reader
Simple project with clean architecture
Stars: ✭ 31 (+0%)
Mutual labels:  test

katana-test

THIS REPO IS ARCHIVED ⚠️

Instead of using this tool, consider adding a test alias to your rebar.config, like this:

{alias,
 [{test, [compile, format, lint, hank, dialyzer, {ct, "--verbose"}, cover, edoc]}]}.

That way, you can run rebar3 test on your CI pipelines and get the code checked with all the desirable tools/plugins at once.

Old Readme Katana Test is an Erlang library application containing modules useful for testing Erlang systems. It currently contains the module `ktn_meta_SUITE`, which is a Common Test suite to be included among your tests. Read below for more information.

Contact Us

If you find any bugs or have a problem while using this library, please open an issue in this repo (or a pull request :)).

And you can check all of our open-source projects at inaka.github.io

ktn_meta_SUITE

Goals

The meta suite lets you check your code with dialyzer, xref and elvis.

Usage

To include the suite in your project, you only need to invoke its functions from a common_test suite. If you use mixer you can do…

-module(your_meta_SUITE).

-include_lib("mixer/include/mixer.hrl").
-mixin([ktn_meta_SUITE]).

-export([init_per_suite/1, end_per_suite/1]).

init_per_suite(Config) -> [{application, your_app} | Config].
end_per_suite(_) -> ok.

Of course, you can choose what functions to include, for example if you want dialyzer but not elvis nor xref you can do…

-mixin([{ ktn_meta_SUITE
        , [ dialyzer/1
          ]
        }]).

-export([all/0]).

all() -> [dialyzer].

Configuration

ktn_meta_SUITE uses the following configuration parameters that you can add to the common_test config for your test suite:

Parameter Description Default
base_dir The base_dir for your app code:lib_dir(App) where App is what you define in application below
application The name of your app no default
dialyzer_warnings The active warnings for diaylzer [error_handling, race_conditions, unmatched_returns, unknown]
plts The list of plt files for dialyzer filelib:wildcard("your_app/*.plt")
elvis_config Config file for elvis "your_app/elvis.config"
xref_config Config options for xref #{dirs => [filename:join(BaseDir, "ebin"), filename:join(BaseDir, "test")], xref_defaults => [{verbose, true}, {recurse, true}, {builtins, true}]}
xref_checks List of checks for xref [ undefined_function_calls, locals_not_used, deprecated_function_calls]
dirs List of folders to check with xref and dialyzer ["ebin", "test"]
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].