Run Mocha tests in Electron

Overview

electron-mocha

Build Status Windows Build Status npm

Mocha testing in Electron. This project has two main value propositions:

  1. You can now easily test any JavaScript app in a real browser environment.
  2. You can now easily test your Electron apps!

Install

npm i -g electron-mocha

Usage

Install Electron

First, you need to install Electron. You can either run:

npm i -g electron

and then electron will be added to your path. Or, you can download a version from https://github.com/electron/releases and then set an environment variable ELECTRON_PATH pointing to the binary. Note if you're using Mac OS X, the path would be to the actual executable and not the app directory e.g. /Applications/Electron.app/Contents/MacOS/Electron.

Run Tests

electron-mocha is almost a drop-in replacement for the regular mocha command, with these additional options:

--renderer              Run tests in renderer process              [boolean]
--require-main, --main  Require module in main process             [array]
--script                Load module in renderer via script tag     [array]
--interactive           Show renderer tests in persistent window   [boolean]
--url, --index          Load custom URL in renderer                [string]
--preload               Load module during renderer preload        [string]
--window-config         Supply custom Electron window options      [string]
-W, --warnings          Print renderer warnings to console         [boolean]

The window-config switch must point to a JSON file or to a JavaScript module that exports an options object. For more information, check out the Electron API docs.

For the full list of available options, see electron-mocha --help.

Examples

electron-mocha

This runs all tests in your test directory in the main process.

electron-mocha --renderer

This runs all tests in your test directory in a renderer process. This means that you have access to the entirety of the DOM, web storage, etc. This is because it's actually running in a Chromium process.

Using on Travis CI

On Linux, your .travis.yml will need an extra line of configuration to run your tests:

services:
  - xvfb

WebGL Tests

If you are writing tests for WebGL programs and you cannot get a WebGL contexts, this may be because Travis doesn't have GPU support. You can pass --ignore-gpu-blacklist to Electron to bypass it:

  • command
electron-mocha --main ignore-gpu-blacklist.js
  • ignore-gpu-blacklist.js
const { app } = require('electron');
app.commandLine.appendSwitch('ignore-gpu-blacklist');

Debugger Support

Use the --inspect or --inspect-brk options to enable Electron's debugger. When using --renderer this will show the test-runner window dev-tools, including a debugger (so you do not need to attach a node-inspector).

Note that the window will close automatically when the tests have finished, therefore this option should be used in combination with debugger statements anywhere in your tests or code.

Alternatively, you can use the --interactive option which will keep the window open after your tests have run (you can reload the window to run the tests again), to give you the opportunity to set breakpoints using the dev-tools inspector.

To debug the main process, you will need to start a node-inspector separately.

Code Coverage

You can use electron-mocha to collect code coverage data in both Electron's main and renderer processes. To do this, you will need to instrument your code, run the tests on the instrumented code, and save the coverage stats after all tests have finished.

For examples, see this thread

License

MIT

Comments
  • electron-mocha and istanbul/isparta

    electron-mocha and istanbul/isparta

    Any ideas on how to get istanbul or isparta to generate a coverage report based on electron-mocha results. I run the following command and get the following error:

    ./node_modules/.bin/istanbul cover electron-mocha -- --compilers js:babel/register --recursive
    
    
      Test app menu creation
        ✓ should set isQuitMenu to true if quit is clicked
    
    
      1 passing (19ms)
    
    No coverage information was collected, exit without writing coverage information
    
    opened by jg123 33
  • Generate index.html for renderer tests, and pass relative paths to sc…

    Generate index.html for renderer tests, and pass relative paths to sc…

    …ripts to load before test runs with --script CLI option

    Generates the index.html used in renderer text instead of loading a static file, which allows effortless use of third party libraries or other (legacy) scripts that do not expose CommonJS modules and expect to attach to the global window object.

    Usage is eg. electron-mocha --renderer --scripts <path 1>,<path 2>,<further paths...> ./tests, which will generate a temporary index.html like

    <script><!-- contents of file at path 1 --></script>
    <script><!-- contents of file at path 2 --></script>
    <script><!-- and so on --></script>
    <script><!-- setup script identical in functionality to previous content of renderer folder --></script>
    

    Paths should be relative to the working directory from where electron-mocha is launched.

    The order of the scripts files is the same as provided to electron-mocha, so if any files have internal dependencies these need to be in the order they would appear concatenated or as individual script tags on a html page.

    Writes the generated index.html to a temp directory, which is required for the browser security policy to not disable writing to localStorge and possibly other APIs in included code.

    opened by orbitbot 12
  • Renderer test hang indefinitely

    Renderer test hang indefinitely

    I have a simple test case, nothing specific. Located in a test/ folder. As of now there is no browser-specific code.

    When invoking : electron-mocha

    tests pass well. However : electron-mocha --renderer

    hangs with no output. Even putting a log line on top of my only test file does nothing.

    Any idea on how I can start debugging this?

    opened by sdumetz 11
  • IPC Main <-> Renderer Example Test

    IPC Main <-> Renderer Example Test

    Following the Electron recommendations, I'm removing remote access completely in renderer and convert everything to be IPC via .invoke()

    Is it possible to test IPC communication between Main/Renderer via e-mocha ?

    If so, could you provide a simple e-mocha test on how to trigger an IPC event from renderer that is then received in main process (or vice versa) ?

    I've looked through the provided test examples as well as projects that use e-mocha, but did not find a suitable example.

    Thanks.

    Electron 12.0.2 E-Mocha 9.3.3 Win x64

    opened by petef19 10
  • Examples of tests written to leverage electron-mocha

    Examples of tests written to leverage electron-mocha

    Hello

    It would be great if this project had an examples folder containing 2 tests (one for the main process, one for a renderer process) for testing a fictional Electron demo app.

    At the moment I'm a bit stuck in my tests, not knowing how to go further than just testing pure CommonJS modules, that is all what is not specific to Electron. Some things I would like to do:

    • Test a renderer process HTML view
    • Test a renderer process JavaScript
    • Show a menu and activate a menu item

    Thanks a lot

    opened by madarche 10
  • ELIFECYCLE with v0.35.2 on Travis CI

    ELIFECYCLE with v0.35.2 on Travis CI

    I'm suddenly getting this error with electron-mocha on Travis CI after upgrading my electron version to v0.35.2, which is not reproducible in OS X:

    npm ERR! Linux 3.13.0-40-generic
    npm ERR! argv "/home/travis/.nvm/versions/node/v4.0.0/bin/node" "/home/travis/.nvm/versions/node/v4.0.0/bin/npm" "run-script" "test:main"
    npm ERR! node v4.0.0
    npm ERR! npm  v2.14.2
    npm ERR! code ELIFECYCLE
    npm ERR! [email protected] test:main: `electron-mocha --recursive tests/src`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the [email protected] test:main script 'electron-mocha --recursive tests/src'.
    npm ERR! This is most likely a problem with the herostratus package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     electron-mocha --recursive tests/src
    npm ERR! You can get their info via:
    npm ERR!     npm owner ls herostratus
    npm ERR! There is likely additional logging output above.
    npm ERR! Please include the following file with any support request:
    npm ERR!     /home/travis/build/resin-io/herostratus/npm-debug.log
    npm ERR! Test failed.  See above for more details.
    

    https://travis-ci.org/resin-io/herostratus/jobs/93954044

    I don't have a Linux machine to test at the moment, but maybe you encounter this error before, or have some insight about what could be causing it?

    opened by jviotti 10
  • Fix exit code

    Fix exit code

    I implemented a workaround for #1 and therefor #2. Basically I am doing exactly what you described in #2 I am printing the exit code from electron and than parse it in the runner so I can fix the exit code in the parent process.

    I have no idea how to run tests for this so I did’t write one.

    I noticed that you print the stack trace I think those where used in development but could now be removed, right?

    opened by FWeinb 9
  • Browser tests need `focusable: true`

    Browser tests need `focusable: true`

    I have some renderer tests that emit (and assert on) events such as blur. Those only work when document.hasFocus() is true.

    Electron-mocha starts electron window with focusable: false which results in document.hasFocus() false. focusable is set to true when the --interactive option is supplied, but that, ironically, doesn't change document.hasFocus(), because the focus is on devtools.

    I can live with the latter - fair enough if you think about it - but I'd like to be able to set focusable: true for headless renderer tests.

    Is it going to be a problem if focusable is set to true when --renderer is specified?

    opened by artemave 8
  • Unexpected characters in test results

    Unexpected characters in test results "√" on Windows

    Hi, I'm on Windows 10 and getting some weird characters in the test results in the console. This happens when using the terminal in VSCode and when using powershell. Characters are √, looks like this:

    image

    I imagine that's just a checkmark being decoded incorrectly by the windows terminal. It's not a big deal, just wondering if you know a fix. Thanks!

    opened by thepiratebae 8
  • --require-main does not use --compilers flag

    --require-main does not use --compilers flag

    electron-mocha --renderer -R spec --compilers js:babel-core/register --require-main test/setup/main.js test/*.spec.js

    Throws Unexpected token import.

    Is there any way to enable babel compiler for main JS?

    opened by pronebird 8
  • [Feature request] Integrate with mocha-webpack

    [Feature request] Integrate with mocha-webpack

    I would like to use this library to test Angular applications on Electron built with Webpack.

    I think the best way to do this is to add a command-line option to launch mocha-webpack instead of Mocha.

    There are two distinct builds which should be enabled and disabled independently:

    1. Code injected into main process
    2. Code injected into the renderer process

    For the renderer, Webpack test code will be loaded by HTTP from the Webpack DevServer rather than required.

    opened by colinskow 8
  • Bump json5 from 1.0.1 to 1.0.2

    Bump json5 from 1.0.1 to 1.0.2

    Bumps json5 from 1.0.1 to 1.0.2.

    Release notes

    Sourced from json5's releases.

    v1.0.2

    • Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295). This has been backported to v1. (#298)
    Changelog

    Sourced from json5's changelog.

    Unreleased [code, diff]

    v2.2.3 [code, diff]

    v2.2.2 [code, diff]

    • Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295).

    v2.2.1 [code, diff]

    • Fix: Removed dependence on minimist to patch CVE-2021-44906. (#266)

    v2.2.0 [code, diff]

    • New: Accurate and documented TypeScript declarations are now included. There is no need to install @types/json5. (#236, #244)

    v2.1.3 [code, diff]

    • Fix: An out of memory bug when parsing numbers has been fixed. (#228, #229)

    v2.1.2 [code, diff]

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump electron from 16.0.8 to 18.3.7

    Bump electron from 16.0.8 to 18.3.7

    Bumps electron from 16.0.8 to 18.3.7.

    Release notes

    Sourced from electron's releases.

    electron v18.3.7

    Release Notes for v18.3.7

    Fixes

    • Fixed WCO not responding to touch events on windows. #35177 (Also in 19, 20)
    • Fixed webContents.getUserAgent() incorrectly returning an empty string unless previously set. #35130 (Also in 17, 19, 20)
    • Fixed an issue in which calling setBounds() after e.preventDefault in a 'will-move' or 'will-resize' event wouldn't change the window's shape until the mouse button was released. #35082 (Also in 19, 20)
    • Fixed context menu not showing all items on macOS when dock is not hidden. #35198 (Also in 19)
    • None. #35171 (Also in 19, 20)

    Other Changes

    • Fixed page size always being restricted to 4k on Linux arm64. #35184
    • Security: backported fix for CVE-2022-2478. #35099
    • Security: backported fix for chromium:1334864. #35097

    electron v18.3.6

    Release Notes for v18.3.6

    Fixes

    • Fixed a crash when calling BrowserWindow.setEnabled(). #34973 (Also in 19, 20)
    • Fixed a potential crash when changing window settings after initializing WCO with an invalid titleBarStyle. #34873 (Also in 17, 19, 20)
    • Fixed alwaysOnTop BrowserWindow option for X11 Linux. #34911 (Also in 19, 20)
    • Fixed an issue where BrowserWindows on macOS were incorrectly marked as resizable. #34907 (Also in 19, 20)
    • Fixed an issue where Windows Control Overlay buttons did not respect maximizable/minimizable/closable states of a BrowserWindow. #34720 (Also in 17, 19, 20)
    • Fixed an issue where calling BrowserWindow.setRepresentedFilename on macOS with titlebarStyle: 'hiddenInset' or titlebarStyle: 'hidden' inadvertently moves the traffic light location. #34847 (Also in 19, 20)
    • Fixed an issue where some BrowserWindows opened from new links wouldn't properly load URLs. #34910 (Also in 19)
    • Fixed an issue where the minimize button with WCO enabled would incorrectly be highlighted in some cases. #34838 (Also in 17, 19, 20)
    • Fixed an issue with background colors being improperly applied to BrowserViews on Windows. #33478 (Also in 16)
    • Fixed empty app_id when running under wayland. #34877 (Also in 19, 20)
    • Fixed missing Sec-CH-UA headers and empty navigator.userAgentData. #34758 (Also in 17, 19, 20)
    • Fixed symbol generation on 32-bit Windows release builds. #35096 (Also in 19, 20)
    • Prevent brief display of "Ozone X11" in window title on Linux. #34943

    Other Changes

    • Backported fix for CVE-2022-2294. #34882
    • Security: backported fix for 1287804. #35102
    • Security: backported fix for 1333333. #34689
    • Security: backported fix for 1335054. #34687
    • Security: backported fix for 1335458. #34685
    • Security: backported fix for 1336014. #35004
    • Security: backported fix for 1339844. #35002
    • Security: backported fix for 1340335. #35000
    • Security: backported fix for 1340654. #34998
    • Security: backported fix for CVE-2022-2162. #34714
    • Security: backported fix for CVE-2022-2295. #34881

    electron v18.3.5

    Release Notes for v18.3.5

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump minimist from 1.2.5 to 1.2.6

    Bump minimist from 1.2.5 to 1.2.6

    Bumps minimist from 1.2.5 to 1.2.6.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Closing browser window quits e-mocha tests

    Closing browser window quits e-mocha tests

    Hello,

    running into an issue here and cannot find a solution. I did search and found similar threads from the past (e.g. #67), but no clear solution that works in our scenario.

    Problem: Our e-mocha tests unexpectedly quit yday although no error occurred. This only occurs sometimes, but obviously breaks the CI. The test block where it (sometimes) breaks opens a few browser windows. At this point they were not closed by our code at the end of each test, which we then implemented.

    Which brings us to the issue that closing a browser window, if it is the only open window, will ultimately quit Electron, which then quits/ends the currently running e-mocha tests.

    Tried to sinon.stub app.quit() and app.exit() as well as app.on()), but that also only works sometimes, not consistently. I know this sounds strange, but for whatever reason sinon does not stub these methods consistently - never had this issue before.

    How are you guys closing the browser windows w/o quitting Electron ?

    Thanks !

    Specs: Win 10 x64 e-mocha 11.0.2 mocha 9.2.0 electron 12.0.5

    opened by petef19 3
  • feat: support esm tests

    feat: support esm tests

    Mocha supports running esm tests if the node it's running on does, you just have to use the loadFilesAsync() method.

    This seems to work fine in the electron main process but in the renderer it hangs on this line when it tries to load any file, esm or cjs.

    I don't know electron or mocha well enough to diagnose the issue, anyone got any ideas?

    Upgrading mocha and/or electron didn't help.

    opened by achingbrain 1
  • Suggest moving the repository to electron-userland

    Suggest moving the repository to electron-userland

    @jprichardson would it be OK with you to request if the repository could be transferred to electron-userland? The main reason I ask is because we'll need to update the Travis CI integration or convert to GitHub Actions for which it would be helpful for me to have admin access.

    opened by inukshuk 2
Owner
JP Richardson
The Times 03/Jan/2009 Chancellor on brink of second bailout for banks.
JP Richardson
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

Ahmed Tawfiq 8 Mar 23, 2022
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

Joseph James 52 Aug 15, 2022
Easily scale your Android Instrumentation Tests across Firebase Test Lab with Flank.

Easily scale your Android Instrumentation Tests across Firebase Test Lab with Flank.

Nelson Osacky 220 Nov 29, 2022
Most popular Mocking framework for unit tests written in Java

Most popular mocking framework for Java Current version is 3.x Still on Mockito 1.x? See what's new in Mockito 2! Mockito 3 does not introduce any bre

mockito 13.6k Jan 4, 2023
Using grpc-wiremock to mock responses in integrated tests of gRPC services

Utilizando grpc-wiremock para mockar respostas em testes integrados de serviços gRPC Este repositório possui um exemplo prático de como configurar e r

Tony A. Luz 2 Oct 28, 2021
A library that makes it easier to write high quality automated acceptance tests

Getting started with Serenity and Cucumber Serenity BDD is a library that makes it easier to write high quality automated acceptance tests, with power

ricardo larrahondo 1 Oct 20, 2021
A simple project to help developers in writing their unit tests in Android Platform.

AndroidUnitTesting A simple project to help developers in writing their unit tests in Android Platform. This is not a multi-module project, but has th

Bruno Gabriel dos Santos 4 Nov 10, 2021
Espresso - Use Espresso to write concise, beautiful, and reliable Android UI tests

Espresso Use Espresso to write concise, beautiful, and reliable Android UI tests

Android For All 1 Jan 26, 2022
Write Tests as Examples on the Method-under-test

Write Tests as Examples on the Method-under-test

Paul Methfessel 1 Apr 12, 2022
A collection of tests and easy to reuse pieces of code for bdk-jvm and bdk-android

Readme This repo is a collection of tests and easy to reuse pieces of code for bdk-jvm and bdk-android. Note that they don't aim to provide a full cov

thunderbiscuit 1 Jun 28, 2022
Automated tests using Rest-assured with Kotlin lang

Testes de API em Kotlin Pré-requisitos Instalar o Kotlin Ambiente Para executar os testes localmente, estou utilizando o ServeRest Link do Repo: https

Rafael Berçam 15 Dec 23, 2022
A program to calculate the distance traveled during the run the calories burned and the average speed Display data in more than one way using a graph

Running App Features: A program to calculate the distance traveled during the run the calories burned and the average speed Display data in more than

mostafa elmorshdi 1 Nov 21, 2022
A mobile application developed for *Android* devices, aimed at 11th grade students in which they can take some basic training tests for presentation of external tests.

ApliKTest11 Application with Kit of questions and Knowledge Test for the preparation of the Saber Test. Description A mobile application developed for

Mike Molina 0 Dec 13, 2021
A Movie listing app with unit tests and a couple of UI tests

MovieListings App This app is a Movie listing app with unit tests and a couple of UI tests. The app gets a list of movies from a public API, and the d

Abayomi Akanji 1 Dec 1, 2021
Gradle plugin to manage tests which should only run nightly and not every time a CI/CD pipeline builds.

NightlyTestsPlugin Gradle Plugin to configure which (j)Unit tests should only be run nightly and not everytime a CI/CD pipeline is triggered. Usage To

VISUS Health IT GmbH 0 Dec 7, 2021
A JUnit5 Platform TestEngine integrated with the official FHIR Validator to run profile and Questionnaire validation as tests.

?? FHIR Validator JUnit Engine A JUnit5 TestEngine to integrate the FHIR Validator into the JUnit5 ecosystem. Supports writing expected validation out

NAV IT 2 Feb 2, 2022
K6-intellij-plugin - IntelliJ-based Plugin to run k6 tests locally or in the k6 Cloud from your IntelliJ IDE

IntelliJ-based Plugin to run k6 tests locally or in the k6 Cloud from your Intel

Mikhail Bolotov 8 Jan 2, 2023
HTTP Server for Android Instrumentation tests

RESTMock REST API mocking made easy. RESTMock is a library working on top of Square's okhttp/MockWebServer. It allows you to specify Hamcrest matchers

Andrzej Chmielewski 750 Dec 29, 2022
Quality-Tools-for-Android 7.5 0.0 L5 Java This is an Android sample app + tests that will be used to work on various project to increase the quality of the Android platform.

Quality Tools for Android This is an Android sample app + tests that will be used to work on various project to increase the quality of the Android pl

Stéphane Nicolas 1.3k Dec 27, 2022
[Deprecated] Android Studio IDE support for Android gradle unit tests. Prepared for Robolectric.

#[Deprecated] Google has finally released a proper solution for unit testing. Therefore this plugin will no longer be activlty maintained. android-stu

Evan Tatarka 236 Dec 30, 2022