You don't have to merge this in if you don't want to yet, still trying to figure out the best way to do this
Install the global Detox requirements as stated here, which are below this anyways.
Install Detox command line tools (detox-cli)
npm install -g detox-cli
Install applesimutils (iOS)
brew tap wix/brew
brew install applesimutils
Choosing Devices
You need to set the iOS simulator and Android emulator you want to use for testing. I made a file called devices.js where you can edit these devices. You can like Android emulators with emulator -list-avds. It looks something like this:
I made a simple scroll up and down test for collectionview so far. I made a script called e2e/run-tests.js which will easily run for any platform or framework. If you run ./e2e/run-tests.js --help to see all the options.
I aliased that script to an npm script, so you can run npm run e2e --help for that same command, and I added ones for just building for all platforms and running on all platforms.
By default (for this repo), Angular, Vue, Svelte, and React tests will run.
You don't have to merge this in if you don't want to yet, still trying to figure out the best way to do this
Install the global Detox requirements as stated here, which are below this anyways.
Install Detox command line tools (detox-cli)
Install applesimutils (iOS)
Choosing Devices
You need to set the iOS simulator and Android emulator you want to use for testing. I made a file called
devices.js
where you can edit these devices. You can like Android emulators withemulator -list-avds
. It looks something like this:Runnings Tests
I made a simple scroll up and down test for collectionview so far. I made a script called
e2e/run-tests.js
which will easily run for any platform or framework. If you run./e2e/run-tests.js --help
to see all the options.I aliased that script to an npm script, so you can run
npm run e2e --help
for that same command, and I added ones for just building for all platforms and running on all platforms.By default (for this repo), Angular, Vue, Svelte, and React tests will run.