neuron-automation
UI automation tests for Neuron Wallet.
Note: currently support better for Windows version.
Prerequisites
- Java
- Maven
Running the tests
Before running test:
- copy the neuronConfig.yml.sample file to
neuronConfig.yml
. - make sure to update the
ckbPath
andnodePath
in theneuronConfig.yml
file.
Run system/send transaction tests:
make system-test # running regression tests.
or:
scripts\neuron.sh system-test # running regression tests.
Coding Style
We use "Google Java Style Guide" as coding style guide:
- Official: https://google.github.io/styleguide/javaguide.html
- Chinese version: https://jervyshi.gitbooks.io/google-java-styleguide-zh/content/
Installing the coding style settings in Intellij
- Download the intellij-java-google-style.xml file from the http://code.google.com/p/google-styleguide/ repo.
- go into Preferences -> Editor -> Code Style. Click on Manage and import the downloaded Style Setting file. Select GoogleStyle as new coding style.