JUnit 5 Studies For Android

Overview

Estudos sobre JUnit 5

Objetivo

A proposta desse projeto é estudar a documentação do JUnit 5 traduzindo-a com exemplos e com a meu entendimento sobre as coisas.

Escreverei o meu entendimento dos tópicos no README e farei referencia ao código desse projeto que roda na prática o que foi explicado.

Documentação https://junit.org/junit5/docs/current/user-guide/

O que é o JUnit 5

O JUnit 5 é composto por vários módulos de 3 subprojetos.

JUnit Platform: Essa é a estrutura do Junit para rodar os testes. Ele possui uma API de execução de testes (Launcher API) que permite rodar testes através de código. Possui também o JUnit 4 based Runner que serve para rodar qualquer Engine de testes. Além disso, possui um Console Laucher que permite rodar o JUnit via linha de comando. No fim das contas, as IDEs usam o que o JUnit Platform oferece para nos dar a comodidade de rodar os testes.

JUnit Jupiter: Aqui estão as novas funcionalidades do JUnit 5 que dão mais eficiência para nós programadores usuários do JUnit 5. Eles chamam do novo programming model e extension model. Esse módulo possui uma TestEngine que será executada no JUnit 4 based Runner que de fato roda o leque de ferramentas que o Junit 5 nos oferece.

JUnit Vintage: Aqui está a TestEngine responsável por rodar os testes do JUnit 3 e 4 para que quem usa o JUnit 5 consiga usar também testes escritos com as ferramentas do JUnit4. O objetivo é manter compatibilidade.

Supported Java Versions

O JUnit 5 precisa de Java 8 ou maior para rodar. Entretanto, ele consegue testar códigos java compilados antes dessa versão.

Começando a utilizar o JUnit 5

Baixando artefatos

Todos os artefatos disponíveis para uso do JUnit 5 estão aqui

Mapa de dependências

You might also like...
Android UI Testing
Android UI Testing

User scenario testing for Android Robotium is an Android test automation framework that has full support for native and hybrid applications. Robotium

A powerful test framework for Android

Cafe A powerful test framework for Android named Case Automated Framework for Everyone. Home Page http://baiduqa.github.com/Cafe/ How to make Cafe dow

A custom instrumentation test runner for Android that generates XML reports for integration with other tools.

Android JUnit Report Test Runner Introduction The Android JUnit report test runner is a custom instrumentation test runner for Android that creates XM

Macaca Android driver
Macaca Android driver

macaca-android Macaca Android driver Contributors xudafeng ziczhu SamuelZhaoY kobe990 CodeToSurvive1 kyowang qichuan brucejcw yaniswang This project f

A powerful test framework for Android

Cafe A powerful test framework for Android named Case Automated Framework for Everyone. Home Page http://baiduqa.github.com/Cafe/ How to make Cafe dow

3 types of Tests in Android (Unit - instrumentation - UI)
3 types of Tests in Android (Unit - instrumentation - UI)

UnitTestingPractice 3 types of Tests in Android Unit instrumentation (Integration) UI Unit Testing benefits confirm code work like a charm simulate Ap

Selenium WebDriver and Appium based Web, Mobile (Android, iOS) and Windows desktop Automation Framework with BDD & Non-BDD implementation support

Selenium WebDriver and Appium based Web, Mobile (Android, iOS) and Windows desktop Automation Framework with BDD & Non-BDD implementation support

Raccoon is a lightweight response mocking framework that can be easily integrated into the Android UI tests.
Raccoon is a lightweight response mocking framework that can be easily integrated into the Android UI tests.

Raccoon Medium Articles Checkout these article to get more insights about this library: How to integrate this in your Android Test Why Raccoon? There

A sample repo describing best practices for snapshot testing on Android

Road to effective snapshot testing A sample repo describing best practices for snapshot testing on Android. This includes for now: Parameterized Tests

Owner
João Pedro Medeiros de Farias
João Pedro Medeiros de Farias
Strikt is an assertion library for Kotlin intended for use with a test runner such as JUnit, Minutest, Spek, or KotlinTest.

Strikt is an assertion library for Kotlin intended for use with a test runner such as JUnit, Minutest, Spek, or KotlinTest.

Rob Fletcher 447 Dec 26, 2022
Proyecto de Kotlin y JPA sobre Hibernate, con algunos test usando JUnit 5 y Mockito.

Contactos Kotlin JPA Ejemplos de una aplicación de manejo de contactos con Kotlin y JPA. Usando para testear la aplicación JUnit 5 y Mockito. Almacena

José Luis González Sánchez 3 Sep 13, 2022
This is a sample API project for Rest Assured with Maven Kotlin DSL & JUnit 5

Kotlin-RestAssured Test Automation This is a sample API project for Rest Assured with Maven Kotlin DSL & JUnit 5 Introduction All the Test Cases kept

Dilshan Fernando 0 Dec 9, 2021
Android library that allows you to run your acceptance tests written in Gherkin in your Android instrumentation tests.

Green Coffee Green Coffee is a library that allows you to run your acceptance tests written in Gherkin in your Android instrumentation tests using the

Mauricio Togneri 227 Nov 21, 2022
null 866 Dec 27, 2022
Linkester is an Android library that aims to help Android developers test their deep links implementation.

Linkester Linkester is an Android library that aims to help Android developers test their deep links implementation. The idea is to have a new launche

Ahmad Melegy 79 Dec 9, 2022
Android UI Testing

User scenario testing for Android Robotium is an Android test automation framework that has full support for native and hybrid applications. Robotium

null 2.8k Dec 14, 2022
A set of AssertJ helpers geared toward testing Android.

AssertJ Android A set of AssertJ assertions geared toward testing Android. Deprecated The support libraries and play services are developing at a rate

Square 1.6k Jan 3, 2023
Control and manage Android devices from your browser.

Warning This project along with other ones in OpenSTF organisation is provided as is for community, without active development. You can check any othe

STF 12.7k Jan 6, 2023
Android Unit Testing Framework

Robolectric is the industry-standard unit testing framework for Android. With Robolectric, your tests run in a simulated Android environment inside a

Robolectric 5.6k Jan 3, 2023