Detox

Gray box end-to-end testing and automation framework for mobile apps

MIT License

Downloads
1.1M
Stars
10.9K
Committers
260

Bot releases are visible (Hide)

Detox - Detox 12.11.1

Published by LeoNatan over 5 years ago

Removed deprecated API use of AppleSimUtils.

Detox - Improvements in log artifacts

Published by noomorph over 5 years ago

Minor changes:

  1. https://github.com/wix/Detox/pull/1428 — "Reimplemented SimulatorLogPlugin to use log stream"
    The new mechanism is based on:
    /usr/bin/xcrun simctl spawn ${udid} log stream --level debug --style compact --predicate '${predicate}

  2. https://github.com/wix/Detox/pull/1433 — fix(artifacts): more precise log recording on iOS and Android

Other:

  1. https://github.com/wix/Detox/pull/1431 — Cleanup: Remove residue of pre Xcode 9 simulator boot logic
  2. https://github.com/wix/Detox/pull/1432 — Upgrade ws to 3.3.1 or later
Detox - Precompiled Detox Android (aka .aar) bundling

Published by d4vidi over 5 years ago

Detox-Android code is now available as a precompiled package (i.e. an .aar) -- bundled into the npm package. This allows apps to configure it as an immediately available dependency, instead of a compiling one - which requires recompilation in every app build.

  • Migration instructions are available here
  • Fresh-installation instructions are available here
Detox - Integration with Detox Instruments

Published by noomorph over 5 years ago

This release adds initial integration between Detox and Detox Instruments (#1165).

If you run Detox tests with --record-performance all, it will load or use the already loaded Profiler framework and call its APIs to record performance metrics for each test. The artifacts manager will put each test recording (.dtxrec) into an appropriate folder inside your artifacts location.

Also, the deprecation of "specs" property in package.json has been revoked - it continues to serve as a default test root directory (#1290).

More details can be found in the CHANGELOG.

Detox - Enhancements for the screenshot artifacts subsystem

Published by noomorph over 5 years ago

Features

https://github.com/wix/Detox/pull/1281 - feat: --take-screenshot manual mode by default


Adds --take-screenshot manual mode, which is used by default from now on.

In manual mode, device.takeScreenshot is enabled as well, but beforeEach.png and afterEach.png screenshots are not being taken.

To have device.takeScreenshot API disabled forcibly, use --take-screenshot none.


Bugfixes

https://github.com/wix/Detox/pull/1276 - fix(android): install APK with a file path that needs escaping

Detox - Take screenshots on demand

Published by noomorph over 5 years ago

Adds await device.takeScreenshot(name) method.
More details: https://github.com/wix/Detox/pull/904

Detox - Take screenshots — Beta preview

Published by noomorph over 5 years ago

Detox - Take screenshot — alpha preview

Published by noomorph over 5 years ago

Detox - Bugfixes for the logger subsystem

Published by noomorph over 5 years ago

  1. hotfix: redundant logs in the folder (#1268) - https://github.com/wix/Detox/commit/2dabadde35b486f79163d750c3fdcb1d0dd48937

    Prevents uncontrolled creation of detox_<pid>.log files in the current working directory, when using --record-logs and not specifying the location of the artifacts (which is an autogenerated artifacts/<configuration>_<timestamp> folder).

  2. fix: stabilize simulator log recording (#1273) - https://github.com/wix/Detox/commit/65e1975c5164ee82658255f3ec9e44fdce412896

    Addresses sporadic hanging of a test runner due to a race condition caused by 3rd-party tail npm package: setTimeout (=> @watch()), 1000 . The tail object is apt to subscribe itself to FS events on the sly via creating a watcher (fs.watch()) even after fs.unwatch() has been called.

Detox -

Published by d4vidi over 5 years ago

Detox - Detox 12.1.1

Published by LeoNatan over 5 years ago

Fixed a crash in the previous release (#1240)

Detox - Detox 12.1.0

Published by LeoNatan over 5 years ago

  • Detox now disables test mode in React Native, which should fix various animations and other issues (#1234)
  • New arguments infrastructure is included (#1109)
Detox - Detox v12.0.0

Published by LeoNatan over 5 years ago

This release adds support for Xcode 10.2. Minimum version of Xcode is now Xcode 10.1. See #1202 for more information

Detox - 11.0.1

Published by d4vidi over 5 years ago

Detox - 10.0.9

Published by d4vidi over 5 years ago

Detox - 10.0.10

Published by d4vidi over 5 years ago

Detox -

Published by rotemmiz over 5 years ago

Detox -

Published by rotemmiz over 5 years ago

Detox - Hotfix for compatibility with Xcode 10

Published by noomorph about 6 years ago

9.0.4 (2018-09-28)

Full Changelog

Fixed Bugs

  • Failed to load Info.plist from bundle at path #954

Merged Pull Requests

  • hotfix: added a retry on install (XCode 10 issue) #953 (noomorph)
Detox - A set of ADB-related fixes

Published by noomorph about 6 years ago

9.0.3 (2018-09-26)

Full Changelog

Fixed Bugs

  • Regex for Android bundle id causing failures #924

Merged Pull Requests

  • hotfix: legacy build workaround to fix monorepo build on XCode 10 #945 (noomorph)
  • fix: ADB.pidof integration issue with grep and CRLF edge case #927 (noomorph)
Package Rankings
Top 0.61% on Npmjs.org
Top 3.86% on Proxy.golang.org
Top 21.46% on Repo1.maven.org
Badges
Extracted from project README
SWUbanner NPM Version NPM Downloads Build status Coverage Status Detox is released under the MIT license PR's welcome! Discord Twitter Follow
Related Projects