Difference between revisions of "Applesimutils"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
===Test run in debug mode===
 
===Test run in debug mode===
 
*In one terminal window, run <code>npm run ios</code> from the root folder.
 
*In one terminal window, run <code>npm run ios</code> from the root folder.
*In another terminal window, <code>run npm i</code> then <code>npm run e2e:ios-test from the /detox folder.</code>
+
*In another terminal window, <code>run npm i</code> then <code>npm run e2e:ios-test</code> from the <code>/detox</code> folder.
  
 +
===Test run in release mode ===
 +
*Build the release app by running <code>npm run build:ios-sim</code> from the root folder or <code>npm run e2e:ios-build-release</code> from within the <code>/detox</code> folder.
 +
*Run the test using <code>npm run e2e:ios-test-release</code> from the <code>/detox</code> folder.
  
 
== Related terms ==
 
== Related terms ==

Revision as of 08:52, 26 August 2021

A collection of utils for Apple simulators. [1]

Install Applesimutils

  • brew tap wix/brew
  • brew install applesimutils

Test run in debug mode

  • In one terminal window, run npm run ios from the root folder.
  • In another terminal window, run npm i then npm run e2e:ios-test from the /detox folder.

Test run in release mode

  • Build the release app by running npm run build:ios-sim from the root folder or npm run e2e:ios-build-release from within the /detox folder.
  • Run the test using npm run e2e:ios-test-release from the /detox folder.

Related terms

See also

  • https://developers.mattermost.com/contribute/mobile/e2e/ios/
  • Advertising: