Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Add integration testing or otherwise figure out how best to test browser code #2

@benogle

Description

@benogle

It seems like the cleanest way to test browser code is to start the app in a totally separate process like we're doing in atom: https://github.com/atom/atom/tree/master/spec/integration

To me, it seems the hardest part of this is figuring out the right way to download and use chromedriver

  • if run standalone in a lib without electron-prebuilt, it needs to pull down chromedriver for it's electron version
  • If run in an app with electron-prebuilt, it needs to pull down or use the chromedriver for the app's electron

Could build something like (or add on to) https://github.com/maxogden/electron-download to download the correct chromedriver.

cc @jlord @kevinsawicki

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions