Hermione plugin for lounch VirtualBox.
npm i -D hermione-virtualbox
-
Install VirtualBox.
brew cask install virtualbox
-
Download image (for example: Windows).
-
Create new virtual machine.
-
Configure port forwarding.
-
Run, configure system and create initial snapshot.
-
Set options for the plugin in your hermione config:
{ gridUrl: 'http://127.0.0.1:<PORT>/wd/hub', plugins: { 'hermione-virtualbox': { vm: 'Machine Name' } }, system: { mochaOpts: { timeout: 0 } } }
Option | Default | Description |
---|---|---|
vm |
Virtual machine name. | |
vmStartTimeout |
5000 |
Timeout for start system. |
vmStopAfterEnd |
true |
Stop virtual machine after hermione event RUNNER_END . |
MIT