All Projects → stefanbirkner → System Rules

stefanbirkner / System Rules

Licence: other
A collection of JUnit rules for testing code which uses java.lang.System.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to System Rules

Spectrum
A BDD-style test runner for Java 8. Inspired by Jasmine, RSpec, and Cucumber.
Stars: ✭ 142 (-71.14%)
Mutual labels:  unit-testing, junit
Junit Extensions
JUnit5 extensions library including JUnit5 equivalents of some of the common JUnit4 rules: ExpectedException, TemporaryFolder etc
Stars: ✭ 39 (-92.07%)
Mutual labels:  unit-testing, junit
Test Smells
Test Smells for Android developers
Stars: ✭ 120 (-75.61%)
Mutual labels:  unit-testing, junit
Truth
Fluent assertions for Java and Android
Stars: ✭ 2,359 (+379.47%)
Mutual labels:  unit-testing, junit
Androidunittest
Save time & clear your unit tests on Android !
Stars: ✭ 205 (-58.33%)
Mutual labels:  unit-testing, junit
trx2junit
Transforms XML from trx-Testresults to JUnit-Testresults / trx to JUnit XML and the other way round
Stars: ✭ 42 (-91.46%)
Mutual labels:  unit-testing, junit
EasyUtAndroid
Android unit testing example 全面的android应用单元测试方法及案例
Stars: ✭ 21 (-95.73%)
Mutual labels:  unit-testing, junit
dummyjdbc
dummyjdbc answers database requests with dummy data to be independent of an existing database.
Stars: ✭ 20 (-95.93%)
Mutual labels:  unit-testing, junit
Ava
Node.js test runner that lets you develop with confidence 🚀
Stars: ✭ 19,458 (+3854.88%)
Mutual labels:  unit-testing
Androidut
Android开发中必要的一环---单元测试(Unit Test)
Stars: ✭ 419 (-14.84%)
Mutual labels:  junit
Dredd
Language-agnostic HTTP API Testing Tool
Stars: ✭ 3,770 (+666.26%)
Mutual labels:  unit-testing
Data Driven Web Apps With Flask
Course demo code and other hand-out materials for our data-driven web apps in Flask course
Stars: ✭ 388 (-21.14%)
Mutual labels:  unit-testing
Bash unit
bash unit testing enterprise edition framework for professionals
Stars: ✭ 419 (-14.84%)
Mutual labels:  unit-testing
Unit Testing Tips
Unit testing tips by examples in PHP
Stars: ✭ 318 (-35.37%)
Mutual labels:  unit-testing
Electron Nuxt
⚡ An Electron & Nuxt.js / Vue.js quick start boilerplate with vue-cli scaffolding, electron-builder, unit/e2e testing, vue-devtools
Stars: ✭ 452 (-8.13%)
Mutual labels:  unit-testing
Luaunit
LuaUnit is a popular unit-testing framework for Lua, with an interface typical of xUnit libraries (Python unittest, Junit, NUnit, ...). It supports several output formats (Text, TAP, JUnit, ...) to be used directly or work with Continuous Integration platforms (Jenkins, Maven, ...).
Stars: ✭ 362 (-26.42%)
Mutual labels:  unit-testing
Pg Mem
An in memory postgres DB instance for your unit tests
Stars: ✭ 350 (-28.86%)
Mutual labels:  unit-testing
Quicktheories
Property based testing for Java 8
Stars: ✭ 483 (-1.83%)
Mutual labels:  junit
Service Pattern Go
Simple clean Go REST API architecture with dependency injection and mocking example, following SOLID principles.
Stars: ✭ 449 (-8.74%)
Mutual labels:  unit-testing
Musicplayer
Implemented using Clean Arch, MVVM, LiveData, Room, Koin, Coil, Service, Notification and ExoPlayer
Stars: ✭ 413 (-16.06%)
Mutual labels:  unit-testing

System Rules

Build Status Linux Build Status Windows

System Rules is a collection of JUnit rules for testing code which uses java.lang.System.

System Lambda is an alternative to System Rules that leverages the possibilities of Java 8. It is independent of the test framework. You can use it for example as a replacement for System Rules in JUnit Jupiter and TestNG.

Installation

System Rules is available from Maven Central.

<dependency>
  <groupId>com.github.stefanbirkner</groupId>
  <artifactId>system-rules</artifactId>
  <version>1.19.0</version>
</dependency>

Please don't forget to add the scope test if you're using System Rules for tests only.

Usage

System Rules' documentation is stored in the gh-pages branch and is available online at http://stefanbirkner.github.io/system-rules/index.html

Contributing

You have three options if you have a feature request, found a bug or simply have a question about System Rules.

Development Guide

System Rules is build with Maven. If you want to contribute code than

  • Please write a test for your change.
  • Ensure that you didn't break the build by running mvnw test.
  • Fork the repo and create a pull request. (See Understanding the GitHub Flow)

The basic coding style is described in the EditorConfig file .editorconfig.

System Rules supports Travis CI (Linux) and AppVeyor (Windows) for continuous integration. Your pull request will be automatically build by both CI servers. On Travis CI we build your pull request with OpenJDK 6 and run test with different JDKs (Java 6 to 10).

Release Guide

  • Select a new version according to the Semantic Versioning 2.0.0 Standard.
  • Set the new version in pom.xml and in the Installation section of this readme.
  • Commit the modified pom.xml and README.md.
  • Run mvnw clean deploy with JDK 6 or 7.
  • Add a tag for the release: git tag system-rules-X.X.X
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].