Revision Date Author Comments
# 0eed1583 26-Nov-2021 Łukasz Kosmaty <[email protected]>

[dev-client] Try to fix `java.net.BindException` in unit tests on CI (#15286)

# Why

Tries to fix:
```
java.net.BindException at DevLauncherManifestParserTest.kt:23
```

# How

According to

[dev-client] Try to fix `java.net.BindException` in unit tests on CI (#15286)

# Why

Tries to fix:
```
java.net.BindException at DevLauncherManifestParserTest.kt:23
```

# How

According to the documentation of the start method:
````
Starts the server on the loopback interface for the given port.
Params:
port - the port to listen to, or 0 for any available port. Automated tests should always use port 0 to avoid flakiness when a specific port is unavailable.
````
We shouldn't bind to the specific port.

# Test Plan

- run unit tests locally ✅

show more ...


# 2acc3378 28-Jul-2021 Łukasz Kosmaty <[email protected]>

[dev-client] Add instrumented tests on Android (#13639)

# Why

Closes ENG-1569.
Needs https://github.com/expo/expo/pull/13638 to work.

# How

Added instrumented tests to `expo-dev-client` pa

[dev-client] Add instrumented tests on Android (#13639)

# Why

Closes ENG-1569.
Needs https://github.com/expo/expo/pull/13638 to work.

# How

Added instrumented tests to `expo-dev-client` package. However, this code won't be released by npm. So it's only for internal purposes. Also, to test more scenarios, I've created a simple app that will be loaded by the dev-client. It's also excluded from being published.

# Test Plan

- run created test locally

show more ...


# 7850247b 03-May-2021 Łukasz Kosmaty <[email protected]>

[dev-client][android] Add unit tests (#12617)

# Why

Needs https://github.com/expo/expo/pull/12620 to work.

Adds basic units test to dev-menu and dev-launcher.

# How

- set up unit test us

[dev-client][android] Add unit tests (#12617)

# Why

Needs https://github.com/expo/expo/pull/12620 to work.

Adds basic units test to dev-menu and dev-launcher.

# How

- set up unit test using `Robolectric`
- implemented basic unit test for dev-menu and dev-launcher

# Test Plan

- runs unit tests ✅

show more ...